how to analyze frequency response ?

4 views (last 30 days)
how to analyze frequency response of a audio file using freqz command ? can any one help ,i am a beginner to matlab

Accepted Answer

Wayne King
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()

More Answers (1)

Carlos
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.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!