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

조회 수: 3 (최근 30일)
Tom
Tom 2012년 1월 24일
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
Matt Fig
Matt Fig 2012년 11월 2일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Wayne King
Wayne King 2012년 1월 24일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Parametric Spectral Estimation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by