?? subplot.m
字號(hào):
clc,clear,clf,close all
t=0:10;
a=10;T=3;w=2*pi/T;thita=0;
Vs=a*sin(w*t+thita);
Ve=0.9.^t;
Vc=0.7.^t.*sin(w*t+thita);
subplot(3,1,1);plot(t,Vs,'r')
xlabel('time[mS]')
ylabel('Voltage [v]')
title('sinosudal')
subplot(3,1,2);plot(t,Ve)
xlabel('time [mS]')
ylabel('Voltage [v]')
title('exponential')
subplot(3,1,3);plot(t,Vc,'g')
xlabel('time [mS]')
ylabel('Voltage [v]')
title('casual')
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -