- Omitting spectrumtype, or specifying 'psd', returns the power spectral density.
- Specifying 'power' scales each estimate of the PSD by the equivalent noise bandwidth of the window. The result is an estimate of the power at each frequency. If the 'reassigned' option is on, the function integrates the PSD over the width of each frequency bin before reassigning.
In using spectrogram, what is the difference between specifying option 'power' and 'psd'?
4 views (last 30 days)
I ran two tests, with identical input data, first with:
[s,f,t] = spectrogram(y1, hann(windowsz), noverlap, nfft, fs,'yaxis','power','reassigned');
[PSDs,f,t] = spectrogram(y1, hann(windowsz), noverlap, nfft, fs,'yaxis','psd','reassigned');
I then checked to see if the results where the same:
if s == PSDs
a = 'SAME'
and the result was 'SAME'
So, what do options 'psd' and 'power' do?
Star Strider on 25 Jul 2016
The best I can do is to quote the documentation: