필터 지우기
필터 지우기

How to normalized power from spectrogram

조회 수: 5 (최근 30일)
Wendy Fernandez
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?

채택된 답변

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