📄 q2513.m
字号:
%fplot plot的比较,
close all,echo on
figure(1)
pause,[x,y]=fplot('cos(tan(pi*x))',[-0.4,1.4]);
pause,fplot('cos(tan(pi*x))',[-0.4,1.4])
pause,legend('y=cos(tan(x))')
n=length(x);
%title('cos(tan(x))')
%xlabel('x')
%ylabel('y')
pause,figure(2)
t=-0.4:1.8/n:1.4;
plot(t,cos(tan(pi*t)))
pause,figure(3)
t=0:1/3000:1;
plot(t,cos(tan(pi*t)))
axis([0.4,0.6 -1,1]);
title('复杂函数的局部透视')
xlabel('x')
ylabel('y')
pause,axis off,box off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -