# MATLAB反三角函数arcsecx, arccscx, arctanx, arccotx, arcsinx, arccosx绘图表示

## matlab源代码

figure(1)
x=0:0.01:pi;
y=sec(x);
plot(y,x);
title ('arcsecx')
set(gca,'YTick',[-2*pi:pi/2:2*pi])
set(gca,'ytickLabel',{'-2π','-3π/2','-π','-π/2','0','π/2','π','3π/2','2π'})
grid on
axis([-1.2 2*pi -1.2 2*pi])

figure(2)
x=-pi/2:0.01:pi/2;
y=csc(x);
plot(y,x);
title ('arccscx')
set(gca,'YTick',[-2*pi:pi/2:2*pi])
set(gca,'ytickLabel',{'-2π','-3π/2','-π','-π/2','0','π/2','π','3π/2','2π'})
grid on
axis([-1.2 2*pi -1.2 2*pi])

figure(3)
x=-pi/2:0.01:pi/2;
y=tan(x);
plot(y,x);
title ('arctanx')
set(gca,'YTick',[-pi:pi/2:pi])
set(gca,'ytickLabel',{'-π','-π/2','0','-π/2','π'})
grid on
axis([-1.2 2*pi -1.2 2*pi])

figure(4)
x=0:0.01:pi;
y=cot(x);
plot(y,x);
title ('arccotx')
set(gca,'YTick',[-pi:pi/2:pi])
set(gca,'ytickLabel',{'-π','-π/2','0','-π/2','π'})
grid on
axis([-1.2 2*pi -1.2 2*pi])

figure(5)
x=-pi/2:0.01:pi/2;
y=sin(x);
plot(y,x);
title ('arcsinx')
set(gca,'YTick',[-pi/2:pi/2:pi/2])
set(gca,'ytickLabel',{'-π/2','0','π/2'})
grid on
axis([-2 pi -2 pi])

figure(6)
x=0:0.01:pi;
y=cos(x);
plot(y,x);
title ('arccosx')
set(gca,'YTick',[0:pi/2:pi])
set(gca,'ytickLabel',{'0','π/2','π'})
grid on
axis([-2 1.2*pi -2 1.2*pi])


• 6
点赞
• 0
评论
• 14
收藏
• 一键三连
• 扫一扫，分享海报

12-17 3819
01-28 5586
11-14 5790
02-25 1025
11-03 2万+
03-31 113
11-23 144
04-13 4万+

Scandinavian_

¥2 ¥4 ¥6 ¥10 ¥20