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

📄 2-6.m

📁 matlab6.5图形图像处理源程序.很多的。很好用的。很有帮助的。
💻 M
字号:
figure;
%下面的符号函数在下面章节中会详细说明
subplot(2,3,1)
%对于变化剧烈的函数,可用fplot来进行较精确的绘图
fplot('humps',[0 1])
subplot(2,3,2)
fplot('abs(exp(-j*x*(0:9))*ones(10,1))',[0 2*pi])
subplot(2,3,3)
fplot('[tan(x),sin(x),cos(x)]',2*pi*[-1 1 -1 1])
%这里x为符号变量,下面的t也是,后面的数组为绘图范围
subplot(2,3,4)
fplot('sin(1 ./ x)', [0.01 0.1],1e-3)
subplot(2,3,5)
ezplot('cos(x)')
%ezplot为函数绘图函数
subplot(2,3,6)
ezplot('sin(3*t)*cos(t)','sin(3*t)*sin(t)',[0,pi])

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -