Effacer les filtres
Effacer les filtres

What is the unit of the result of spectrogram?

10 vues (au cours des 30 derniers jours)
Jeong Hoon
Jeong Hoon le 12 Oct 2016
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.

Réponses (1)

Gautam Mohan
Gautam Mohan le 18 Oct 2016
Hi Jeong,
The spectrogram units are power/frequency, as it computes the power spectral density.

Catégories

En savoir plus sur Time-Frequency Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by