2 连续时间信号在 MATLAB 中的表示
2-1.利用 MATLAB 命令画出下列连续信号的波形图
(1)
>> t=0:0.01:3;
>> ft=2*cos(3*t+pi/4);
>> plot(t,ft),grid on;
>> axis([0 3 -2.2 2.2]);
>> title('2cos(3t+pi/4)')
(2)
>> t=0:0.01:3;
>> ft=2-exp(-t);
>> plot(t,ft),grid on;
>> title('(2-exp(-t))u(t)')
(3)
>> t=-1:0.01:1;
>> ft=t.*(uCT(t)-uCT(t-1));
>> plot(t,ft),grid on
>> axis([-1 1 -0.2 1.2]);
>> title('t[u(t)-u(t-1)]')
(4)
>> t=-1:0.01:3;
>> ft=(1+cos(pi*t)).*(uCT(t)-uCT(t-2));
>> plot(t,ft),grid on
>> axis([-1 3 -0.2 2.2]);
>> title(' ...


雷达卡




京公网安备 11010802022788号







