dspdata display units for spectrum

3 ビュー (過去 30 日間)
Roberto
Roberto 2013 年 6 月 18 日
How can I change dspdata spectrum units, its in dB (dB/Hz for PSD), I would like the spectrum in real units.

採用された回答

Honglei Chen
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 件)

カテゴリ

Help Center および File ExchangeParametric Spectral Estimation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by