?? m_p.m
字號:
%==========================================================================
% Name:M_P.m
%
%==========================================================================
clear;close all,
t=-2:0.01:2;
x1=1+cos(2*pi*t)/2+cos(4*pi*t)+2*cos(6*pi*t)/3;
x2=1+cos(2*pi*t+4)/2+cos(4*pi*t+8)+2*cos(6*pi*t+12)/3;;
x3=1+cos(2*pi*t+6)/2+cos(4*pi*t-2.7)+2*cos(6*pi*t+0.93)/3;;
x4=1+cos(2*pi*t+1.2)/2+cos(4*pi*t+4.1)+2*cos(6*pi*t-7.02)/3;;
subplot(221);plot(t,x1,'b');grid on;title('The sequence x1(t)');
subplot(222);plot(t,x2,'r');grid on;title('The sequence x2(t)');
subplot(223);plot(t,x3,'k');grid on;title('The sequence x3(t)');xlabel('Time t');
subplot(224);plot(t,x4,'g');grid on;title('The sequence x4(t)');xlabel('Time t');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -