Spectrogram time axis samples to actual time
Mostrar comentarios más antiguos
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 comentarios
Rishikesh Shetty
el 14 de Abr. de 2022
Same issue here. Did you figure it out?
Please delete
el 15 de Abr. de 2022
Respuesta aceptada
Más respuestas (0)
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!