ex5_4.m

来自「经典《信号与系统》教程的matlab例程,对深入理解信号与系统相关概念有很大帮助」· M 代码 · 共 10 行

M
10
字号
t=0:0.01:6;
f=cos(t);
c=cos(100*t);
f1=(1+f).*c;
f2=(1+0.707*cos(t-pi/4)).*c;
subplot(2,1,1)
plot(t,f1);grid on;ylabel('the input signal s(t)')
subplot(2,1,2)
plot(t,f2);grid on;xlabel('time t');ylabel('the output signal v2(t)')

⌨️ 快捷键说明

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