Power scaling with spectrogram
Mostrar comentarios más antiguos
Dear all, I'm processsing a voltage trace (mV) with spectrogram (trace of a couple of minutes, hamming window 1 s, 0.5 s noverlap, 1 s nfft window, 20.000 Hz sampling rate) in order to determine the frequency content which works very well overall. But I do not really understand how I can interprete the power color code. What is the exact scaling of the color code and how can I derive the proper axis notation? I'm really looking forward to your help. All the best, Peter
Respuesta aceptada
Más respuestas (2)
Honglei Chen
el 13 de Mayo de 2013
Editada: Honglei Chen
el 13 de Mayo de 2013
Not sure if I understand your question correctly, but you can see the value represented by the color by issuing
>> colorbar
in the command line.
The value is power in dB scale. So if your signal is in volts, then it's in watt.
Peter
el 13 de Mayo de 2013
0 votos
1 comentario
Honglei Chen
el 13 de Mayo de 2013
I updated the answer above. It's power in dB scale by default. I'm not sure what 19*10(-4) is, do you have a reproduction step?
Categorías
Más información sobre Time-Frequency Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!