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

📄 exp2_6.m

📁 matlab与控制系统仿真的PPt多媒体教程和源码
💻 M
字号:
%图形分割命令的使用
clear
close all
clc
t=[0:pi/20:5*pi];
figure(1)
subplot(321)
plot(t,sin(t))
axis([0 16 -1.5 1.5])
ylabel('magnitude')
grid on
title('sin(t)')
subplot(322)
plot(t,-sin(t))
axis([0 16 -1.5 1.5])
ylabel('magnitude')
grid on
title('-sin(t)')
subplot(323)
plot(t,cos(t))
axis([0 16 -1.5 1.5])
ylabel('magnitude')
grid on
title('cos(t)')
subplot(324)
plot(t,-cos(t))
axis([0 16 -1.5 1.5])
ylabel('magnitude')
grid on
title('-cos(t)')
subplot(325)
subplot(326)

⌨️ 快捷键说明

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