?? ex3p21.m
字號(hào):
Ts=0.0002;n=-25:1:25;nTs=n*Ts;
x=exp(-1000*abs(nTs));
subplot(2,1,1),stairs(nTs*1000,x);
xlabel('t in msec');ylabel('xa(t)')
title('Resconstructed signal from x1(n) using zero-order-hlod'); hold on
stem(n*Ts*1000,x);hold off
Ts=0.001;n=-5:1:5;nTs=n*Ts;
x=exp(-1000*abs(nTs));
subplot(2,1,2),stairs(nTs*1000,x);
xlabel('t in msec');ylabel('xa(t)')
title('Resconstructed signal from x2(n) using zero-order-hlod'); hold on
stem(n*Ts*1000,x);hold off
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -