How to normalized power from spectrogram

5 次查看(过去 30 天)
I am using
spectrogram(singal,[],[],[],Fs,'yaxis');colorbar;
command and I would like to normalize the power values obtained in the colorbar. However, I have not seen any way in the documentation to do it. Any suggestions?

采纳的回答

Vishal Neelagiri
Vishal Neelagiri 2017-6-22
There doesn't seem to be a direct way to normalize the output of the Spectrogram figure. However, you can workaround this by using [~,ps] = spectrogram(singal,[],[],[],Fs,'yaxis'); to extract out the power density values to MATLAB and then normalize the values manually depending on your use-case.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Time-Frequency Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by