viewing spectrum of an audio signal in matlab
27 次查看(过去 30 天)
显示 更早的评论
how to plot frequency spectrum of magnitude and phase spectra of an audio signal "Handel" in the FFT?
load handel
[xn fs]=myhandel
nf=1024 %number of point in dtft
y = fft(xnnf)
f = fs/2*linspace(01nf/2+1)
plot(fabs(y(1:nf/2+1)))
0 个评论
回答(1 个)
Nikhil Sonavane
2020-7-7
编辑:Nikhil Sonavane
2020-7-7
You may refer to an already answered similar MATLAB Answer which may solve your issue. For more information you may refer Basic Spectral Analysis as well.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!