⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 q2513.m

📁 电路与系统专业的matlab程序。有很多经典的实例。
💻 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 + -