How to optimize Spectrogram parameters
显示 更早的评论
Hi, im trying to use the spectrogram function. Could you help me setting the correct parameters?
I have a signal of where frequency ramps occur every ~20ms. I recorded 1s of the signal The Sampling frequency is ~200kHz The frequency range which is interesting to me is ~3-7kHz (as seen below)
Currently my parameters are: spectrogram(b,kaiser(600,0.1),360,3800,Fs,'yaxis'); How can i improve the resultion?

1 个评论
Nikunj Kothari
2017-1-30
Spectrogram/ STFT would have a fixed window for all time-frequency analysis, so it would depend on what resolution you are looking for. If you need a better time resolution, use a smaller window, or if you require better frequency resolution, than use a larger window.
Wavelets are meant to overcome this fixed width analysis using scale.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Time-Frequency Analysis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!