What is spectrogram and how it is computed?
The spectrogram is a three-dimensional plot of signal amplitude versus time and frequency. It is typically computed using the Short Time Fast Fourier Transform (STFT). — Click for http://en.wikipedia.org/wiki/Spectrogram.
How to plot spectrogram of a signal in matlab?
3D Spectrogram Visualization
Specify the instantaneous frequency of the signal as a triangular function of time. fs = 10e3; t = 0:1/fs:2; x1 = vco(sawtooth(2*pi*t,0.5),[0.1 0.4]*fs,fs); Compute and plot the spectrogram of the signal. Use a Kaiser window of length 256 and shape parameter β = 5 .