dspdata display units for spectrum
3 次查看(过去 30 天)
显示 更早的评论
How can I change dspdata spectrum units, its in dB (dB/Hz for PSD), I would like the spectrum in real units.
0 个评论
采纳的回答
Honglei Chen
2013-6-18
The data itself is saved in linear scale, not dB scale. It is only the plotting that displays the value in dB scale. You can try the following:
h = psd(spectrum.periodogram,randn(1024,1));
plot(h.Frequencies,h.Data);
This way the yaxis is in linear scale.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parametric Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!