Which spectrum (pwelch vs. spectrumAnalyzer) is correct?
8 views (last 30 days)
Show older comments
I have two data which I want to see difference in frequency domain. I tried with pwelch function which shows they are quite close and no meaningful difference. Then I checked the spectrum with spectrumAnalyzer toolbox. The spectrum with the spectrumAnalyzer shows difference although they are rough. Perhaps I need to play around with RBW and VBW?
My question is which spectrum am I supposed to rely on?I also try with FFT which is quite similar with pwelch.
The first plot is from pwelch.

Then the same data with spectrumAnalyzer toolbox without changing parameter. Note that I don't know how to overlay multiple plots in a single spectrumAnalyzer which made me put two captures side by side.

Which one is correct and how to make the same like the other?
2 Comments
Answers (0)
See Also
Categories
Find more on Spectral Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!