fft analysis - 免費下載
仿真技術資源
文件大小:573 K
?? 溫馨提示:本資源由用戶 kevinuk 上傳分享,僅供學習交流使用。如有侵權,請聯系我們刪除。
Use the fast Fourier transform function fft to analyse following signal. Plot the original signal, and the magnitude of its spectrum linearly and logarithmically. Apply Hamming window to reduce the leakage.
.
The hamming window can be coded in Matlab as
for n=1:N
hamming(n)=0.54+0.46*cos((2*n-N+1)*pi/N);
end;
where N is the data length in the FFT.