Calculate moments for Power Spectral Density
    11 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
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.
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
				Mehr zu Parametric Spectral Estimation finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
