spectrogram unit change from dB/Hz to linear scale

20 次查看(过去 30 天)
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
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.

类别

Help CenterFile Exchange 中查找有关 Parametric Spectral Estimation 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by