PDF, PSD, Auto-covariance, Fourier spectrum - all from .wav file

3 Ansichten (letzte 30 Tage)
Tom
Tom am 24 Jan. 2012
Hi, I need to calculate the above for a given .wav file. I know how to arrive at each solution using mathematical techniques, but I also need to know how to arrive at each one using Matlab's own built in functions. My problem is there seem to be lots of different types of FFT functions and I can't find a clear reference to the others. Can anyone point me in the right direction as I'm pretty lost.
  1 Kommentar
Matt Fig
Matt Fig am 2 Nov. 2012
Hi, I need to calculate the above for a given .wav file. I know how to arrive at each solution using mathematical techniques, but I also need to know how to arrive at each one using Matlab's own built in functions. My problem is there seem to be lots of different types of FFT functions and I can't find a clear reference to the others. Can anyone point me in the right direction as I'm pretty lost.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Wayne King
Wayne King am 24 Jan. 2012
Hi Tom, you can use spectrum.periodogram to obtain a PSD estimate. You can use xcorr() to obtain an estimate of the autocorrelation sequence. You can use fft() to obtain the discrete Fourier transform.
Not sure why you want the PDF, The PSD is a form of a PDF for a wide-sense stationary random process, but it is not normalized. You could of course normalize it like a PDF, but I don't see any benefit in that.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by