Effacer les filtres
Effacer les filtres

psd analysis by calculating powers and peak frequences

2 vues (au cours des 30 derniers jours)
Olga
Olga le 13 Fév 2012
Can anyone tell me how I can analyze the PSD by calculating powers and peak frequencies for different frequency bands? These are my frequency bands: ULF <0.0033 Hz VLF, 0.0033-0.04 Hz, LF 0.04-0.15 Hz HF 0.15-0.4 Hz.
This is code I'm using for the PSD calculation:
fs = 400;
xdft = fft(odstepRR);
xdft = xdft(1:length(odstepRR)/2+1);
xdft(2:end-1) = 2*xdft(2:end-1);
psdest = 1/(length(odstepRR)*fs)*abs(xdft).^2;
freq = 0:fs/length(odstepRR):fs/2;
plot(freq,10*log10(psdest));

Réponses (0)

Catégories

En savoir plus sur Parametric Spectral Estimation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by