how to analyze frequency response ?

4 visualizzazioni (ultimi 30 giorni)
Gokul
Gokul il 6 Mar 2013
how to analyze frequency response of a audio file using freqz command ? can any one help ,i am a beginner to matlab

Risposta accettata

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

Più risposte (1)

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by