When the pmtm MATLAB function is used in the form [f,PSD]=pmtm(x,[],[],Fs) it provides the power spectrum estimation PSD (at frequencies f) for the sampled noisy signal x obtained with sampling frequency Fs. Now if you plot (f,10*log10(PSD)) you do not obtain the "right" PSD in the sense that there is a scaling factor that should be Fs/2. So the correct plot should be obtained with plot (f,10*log10(0.5*PSD*Fs)). Is it correct?

Similar questions and discussions