?? ip_01_08.m
字號:
% MATLAB script for Illustrartive Problem 8, Chapter 1.
ts=0.001;
fs=1/ts;
t=[0:ts:10];
x=cos(2*pi*47*t)+cos(2*pi*219*t);
p=spower(x);
psd=spectrum(x,1024);
pause % Press a key to see the power in the signal.
p
pause % Press a key to see the power spectrum.
specplot(psd,fs)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -