I have and audio file, of which I plot the Spectrogram in MATLAB using :
M = 2048;
the result looks fine :
the Time axis is scaled from
0 tell 20, my question is there a way to make it look
0 tell 200 a keep the plot as it is ?
Best How To :
If you just want to make the x-axis "look like" it goes from 0 to 200, you can redefine the
Here is the code:
set(gca, 'XTick', 0:20); % Place Ticks at 0, 1, 2 ... 20
set(gca, 'XTickLabel', 0:10:200); % Mark them as 0, 10, 20 ... 200
It won't change anything to the plot itself, only the x-axis display.