?? draw2.m
字號:
res_temp=NorMK2_DH(500:1500);
res_dec=resample(res_temp,1,3);
res_int=resample(res_temp,3,1);
figure;
subplot(311);
plot(res_temp);grid on;
axis([0,1000,-1,1]);
title('一段信號波形');
subplot(312);
plot(res_dec);grid on;
axis([0,333,-1,1]);
title('采樣率為1/3時重采樣后的波形');
subplot(313);
plot(res_int);grid on;
axis([0,3000,-1,1]);
title('采樣率為3時重采樣后的信號');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -