MATLAB: The results of ‘plomb’ are different than the expectations

Signal Processing Toolbox

Why the results of 'plomb' are different than my expectations?

Best Answer

Please read our documentation for this function:
Please consider to set the spectrum type correctly:
[___] = plomb(_,<https://de.mathworks.com/help/signal/ref/plomb.html#buio4ln-1-spectrumtype spectrumtype>) specifies the normalization of the periodogram.
  • Set spectrumtype to 'psd', or leave it unspecified, to obtain pxx as a power spectral density.
  • Set spectrumtype to 'power' to get the power spectrum of the input signal.
  • Set spectrumtype to 'normalized' to get the standard Lomb-Scargle periodogram, which is scaled by two times the variance of x.