MATLAB: Obtaining spectrogram in hertz

frequencyhertzrecognitionspeakerspectrogramspeech

how to obtain frequency axis in hertz in spectrogram, by its inbuilt function results frequency axis in normalized mode

Best Answer

Hi, you should pass the sample frequency as well.
spectrogram(rand(1000,1),windowsize,overlap,windowsize,fs)
(The second time I use windowsize as an argument defines the the size off the fft)
Related Question