?? 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 + -