What is the unit of the result of spectrogram?

조회 수: 16 (최근 30일)
Jeong Hoon
Jeong Hoon 2016년 10월 12일
답변: Gautam Mohan 2016년 10월 18일
Hi, all. I want to ask about the unit of the result of spectrogram function.
The code I use is below:
--------------------------------------------------------
window=hann(2048);
[s,f,t] = spectrogram(y_total,window,1024,2048,2000);
% y_total is the mV data with 2kHz smapling rate.
s = abs(s);
sum_of_power = s(1,:) + s(2,:) + s(3,:) + s(4,:);
---------------------------------------------------------
I'm using the spectrogram function to know the changes of powers in specific frequency range. The result is good, but the problem is that I don't know the unit of the value 's'. Someone told me that the unit might be the 'Hz/mV^2', or others told me that 's' is the normalized value, so there is no unit.
Is there anyone who can tell about the unit of the result?
Thank you.

답변 (1개)

Gautam Mohan
Gautam Mohan 2016년 10월 18일
Hi Jeong,
The spectrogram units are power/frequency, as it computes the power spectral density.

카테고리

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