Method ao/spectrogram


  SPECTROGRAM computes a spectrogram of the given ao/tsdata.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: SPECTROGRAM computes a spectrogram of the given ao/tsdata
               using MATLAB's spectrogram function.
 
  CALL:        b = spectrogram(a, pl)
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
spectrogram
WIN 'BH92'
  • 'Rectangular'
  • 'Welch'
  • 'Bartlett'
  • 'Hanning'
  • 'Hamming'
  • 'Nuttall3'
  • 'Nuttall4'
  • 'Nuttall3a'
  • 'Nuttall3b'
  • 'Nuttall4a'
  • 'Nuttall4b'
  • 'Nuttall4c'
  • 'BH92'
  • 'SFT3F'
  • 'SFT3M'
  • 'FTNI'
  • 'SFT4F'
  • 'SFT5F'
  • 'SFT4M'
  • 'FTHP'
  • 'HFT70'
  • 'FTSRS'
  • 'SFT5M'
  • 'HFT90D'
  • 'HFT95'
  • 'HFT116D'
  • 'HFT144D'
  • 'HFT169D'
  • 'HFT196D'
  • 'HFT223D'
  • 'HFT248D'
  • 'Kaiser'
  • 'levelledHanning'
The spectral window to apply to the data.
NOLAP, OLAP -1 none The segment overlap (%).
NFFT -1 none The number of samples in each short fft.
FREQVEC -1 none Vector of frequencies where to calculate the spectrogram according to the Goertzel Algorithm (optional). By default, FFT algorithm is applied; only if this parameter is set then the Goertzel Algorithm is used.
NORMALIZE 0
  • 0
  • 1
Normalize the spectrogram by the median power spectral density.

Example

plist('WIN', 'BH92', 'NOLAP', [-1], 'NFFT', [-1], 'FREQVEC', [-1], 'NORMALIZE', [false])

back to top back to top

Some information of the method ao/spectrogram are listed below:
Class name ao
Method name spectrogram
Category Signal Processing
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team