spectrogram

Calculates the spectrogram of the signal using short-time Fourier transform.Second argument options (type of window to use):'rectangular', 'hanning', 'welch', 'parzen', 'bartlett', 'hamming','exponential', 'riemann', 'blackmanharris', 'nuttall'.

Arguments

  1. Input signal vector x.
  2. String, window type.
  3. Positive integer value higher than 4, result vector size.
  4. Positive integer value, segment length.
  5. Positive integer value, number of overlapped samples.

Output

Result matrix

Examples

spectrogram