필터 지우기
필터 지우기

When reading a spectrogram, why is a power of 20 considered higher than 120

조회 수: 1 (최근 30일)
fadams18
fadams18 2022년 9월 7일
댓글: fadams18 2022년 9월 7일
Looking at the spectrogram below, it appears the higher power in the cyan color. but its power value is around 20.
why is this the case? does lower value mean big power?

답변 (1개)

Walter Roberson
Walter Roberson 2022년 9월 7일
Those are not 20 and 120: those are -20 and -120 .
  댓글 수: 1
fadams18
fadams18 2022년 9월 7일
I did a similar plot with a different signal. but my colorbar seems to be inverted. or u reckon its the right way?
[S, feqStft, timeStft] = MyStft(x,win,hop, nfft, fs);
magStft = abs(S);
imagesc(timeStft, feqStft, mag2db(magStft));
colorbar;
set(gca, 'YDir', 'normal');
title('Original Spectrogram of Signal ');
xlabel(['Time (0 - ', num2str(timeStft(end)), ' seconds)']);
ylabel(['Freq (0 - ', num2str(feqStft(end)), ' Hz)']);

댓글을 달려면 로그인하십시오.

카테고리

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