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 I want to decrease the scale of the x-axis & y-axis. How can I do that?
1 Comment
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/425273-how-to-change-the-scale-of-the-x-axis-y-axis#comment_626056
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/425273-how-to-change-the-scale-of-the-x-axis-y-axis#comment_626056
Sign in to comment.