ex5_2.m
来自「经典《信号与系统》教程的matlab例程,对深入理解信号与系统相关概念有很大帮助」· M 代码 · 共 10 行
M
10 行
t=0:0.01:4;
f=-0.5*(t-2).*(u(t)-u(t-2))+0.5*(t-2).*(u(t-2)-u(t-4));
c=cos(5*pi*t);
f1=f.*c;
subplot(3,1,1)
plot(t,f);grid on;title('The baseband signal g(t)')
subplot(3,1,2)
plot(t,c);grid on;ylabel('Carrier')
subplot(3,1,3)
plot(t,f1);grid on;ylabel('Modulated carrier of AM')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?