How to change the resolution of a spectrogram?
5 ビュー (過去 30 日間)
古いコメントを表示
I have written a code which used to plot the spectrogram of a signal. This line was to get the spectrogram:
[s,f2,t] = spectrogram(xc,win,noverlap,FFT_LENGTH,fs,'yaxis');
Then I used imagesc to plot the spectrogram: imagesc(t,f2,20*log10(abs(s)));
Everything is working fine except the following thing:
I don't know how to change the scale/resolution for the thing circled by a red line [looks like steps] to make it looks like a straight line (not like steps)? (please see the attached spectrogram)
2 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Time-Frequency Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!