low frequency signal power spectrum density with fft or pwelch. too high magnitude
Afficher commentaires plus anciens
Hello, I am trying to get the psd result of a low frequency signal. And the pwelch picks the correct frequency but the magnitude is much bigger than it is supposed to be. Have a look at the code and the psd result.
fs=10; % Hz
t=0:1/fs:10800; % sec
L=length(t);
NFFT=L;
x=1*cos(2*pi*0.01*t) +2*cos(2*pi*0.3*t)+ 0.5*cos(2*pi*0.0015*t);
[sp,ff] = pwelch(x,NFFT,[],NFFT,fs,'onesided','psd');

Réponses (1)
Abhishek Ballaney
le 14 Mar 2018
0 votes
https://in.mathworks.com/help/signal/ref/pwelch.html
1 commentaire
MINSOO KIM
le 14 Mar 2018
Catégories
En savoir plus sur Spectral Estimation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!