Spectrogram time axis samples to actual time
Afficher commentaires plus anciens
Hi. I'm trying to plot the result of a spectrogram like: y-axis frequency and x-axis for time, but instead of time in seconds, it plots samples and I don't know how to convert samples to time. Normally, it would be Sample_number / Sampling_rate, but the original signal has 7813 samples and the spectrogram has only 961. Any ideas? Thank you.
2 commentaires
Rishikesh Shetty
le 14 Avr 2022
Same issue here. Did you figure it out?
Please delete
le 15 Avr 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Time-Frequency Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!