Spectrogram time axis samples to actual time
Ältere Kommentare anzeigen
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 Kommentare
Rishikesh Shetty
am 14 Apr. 2022
Same issue here. Did you figure it out?
Please delete
am 15 Apr. 2022
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Get Started with Signal Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!