Spectrogram time axis samples to actual time
Show older comments
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 Comments
Rishikesh Shetty
on 14 Apr 2022
Same issue here. Did you figure it out?
Please delete
on 15 Apr 2022
Accepted Answer
More Answers (0)
Categories
Find more on Time-Frequency Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!