The resolution on the spectrogram plot is WAY too low
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hunter Hakimian
am 1 Aug. 2019
Kommentiert: Star Strider
am 1 Aug. 2019
So, Im trying to plot the spectrogram for a time series sampled at 24KHz, but I am interested in the 3-300 Hz range. However, when I run the code below, it returns this plot
spectrogram(datVec,fs,[],[0,300],fs)
%fs being my sampling frequency, datVec being my time series

This frequency resolution is obviously quite low and I am not sure what to do about this. Changing the overlap window has not helped.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 1 Aug. 2019
Experiment with more elements to your frequency vector, for example:
spectrogram(datVec,fs,[],[3:3:300],fs)
I’m not certain that will do what you want, however it’s always best to experiment.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!