How to plot spectrogram in actual time period?
5 views (last 30 days)
Show older comments
Does anyone know how to plot actual time interval in Spectrogram using STFT?
I want to analyze an event in a signal in a certain time span, but using the spectrogram built in function plots in Spectrogram from 0, while I want it to be plotted from for exp. 5083s time span as seen below. I appreciate if anyone can help me with this.
9 Comments
Mathieu NOE
on 10 May 2021
hello
yiu can simply add this line of code , after the plot :
colorbar('vert');
Answers (0)
See Also
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!