spectrogram unit change from dB/Hz to linear scale

31 visualizzazioni (ultimi 30 giorni)
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 :)

Risposte (1)

Star Strider
Star Strider il 24 Ago 2023
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.

Categorie

Scopri di più su Time-Frequency Analysis in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by