MATLAB: Spectrogram x axis logarithmic

spectrogram x axis logarithmic

what is the easiest way to programatically make the x axis of a spectrogram plot logarithmic?

Best Answer

set(gca, 'XScale', 'Log')