Filter löschen
Filter löschen

how to analyze frequency response ?

1 Ansicht (letzte 30 Tage)
Gokul
Gokul am 6 Mär. 2013
how to analyze frequency response of a audio file using freqz command ? can any one help ,i am a beginner to matlab

Akzeptierte Antwort

Wayne King
Wayne King am 6 Mär. 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()

Weitere Antworten (1)

Carlos
Carlos am 6 Mär. 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!

Translated by