How to normalized power from spectrogram
9 ビュー (過去 30 日間)
古いコメントを表示
Wendy Fernandez
2017 年 6 月 15 日
回答済み: Vishal Neelagiri
2017 年 6 月 22 日
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?
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Time-Frequency Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!