Calculate moments for Power Spectral Density

11 visualizaciones (últimos 30 días)
Christos
Christos el 13 de Mzo. de 2013
I calculated Power Spectral Density(PSD) with multitaper method (pmtm.m).
[y, fs]=wavread(filename);
[Pxx,f] = pmtm(y,4,[],fs);
Does anyone know how to calculate the central moments of PSD? I used matlab moment function, but the results are not correct. The first moment m1 is the mean found through the below
sumAmp = 0;
sumFreq = 0;
for j = 1:Nf
sumAmp = sumAmp + Pxx(j);
sumFreq = sumFreq + f(j)*Pxx(j);
end
m1 = sumFreq/sumAmp;
, but I can not figure out the rest, through searching on the internet.
Thanks a lot.

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by