periodogram

Calculates the spectral density of the signal. 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.

Output

Result vector

Examples

periodogram