low frequency signal power spectrum density with fft or pwelch. too high magnitude
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
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');

0 Kommentare
Antworten (1)
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!

