spectrogram unit change from dB/Hz to linear scale

Hi,
I am using readymade matlab function to plot the spectrogram of my data. I want to change the spectral intensity unit from dB/Hz to linear scale.
Please let me know how can I do that.
Thanks :)

回答 (1 件)

Star Strider
Star Strider 2023 年 8 月 24 日

0 投票

If you want dB rather than dB/Hz, use the pspectrum function with the 'spectrogram' option argument.
To get magnitude from dB, use the db2mag function.

カテゴリ

製品

リリース

R2023a

質問済み:

2023 年 8 月 24 日

回答済み:

2023 年 8 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by