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!