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

3 visualizaciones (últimos 30 días)
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 comentario
Matt Fig
Matt Fig el 2 de Nov. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Wayne King
Wayne King el 24 de En. de 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.

Más respuestas (0)

Categorías

Más información sobre Parametric Spectral Estimation en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by