how to analyze frequency response ?
3 views (last 30 days)
Show older comments
how to analyze frequency response of a audio file using freqz command ? can any one help ,i am a beginner to matlab
0 Comments
Accepted Answer
Wayne King
on 6 Mar 2013
I don't think you want to use freqz() for that. You want to use either spectrogram() or periodogram(), or pwelch()
Which one of the above is the most appropriate depends on your goals. If you want to see how the energy distribution by frequency varies in the audio over time, then you will need to use spectrogram()
0 Comments
More Answers (1)
Carlos
on 6 Mar 2013
Hi Gokul, freqz is used to find the frecuency response, once you have designed your b and a vectors.
[h,w]=freqz(b,a,n)
returns the filter's frecuency response. As far as I know freqz is used when you want to represent your filter's frecuency response, by doing
plot(w/(2*pi),abs(H)).
To find the frecuency response use fft.
0 Comments
See Also
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!