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.