How to normalized power from spectrogram
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Wendy Fernandez
le 15 Juin 2017
Réponse apportée : Vishal Neelagiri
le 22 Juin 2017
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?
0 commentaires
Réponse acceptée
Vishal Neelagiri
le 22 Juin 2017
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 commentaires
Plus de réponses (0)
Voir également
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!