PowerSpectrum

standard mode | Spectral category

Inputs

  • signal (vector_real) - the input signal

Outputs

  • powerSpectrum (vector_real) - power spectrum of the input signal

Parameters

  • size (integer ∈ [1, ∞), default = 2048) :

    the expected size of the input frame (this is purely optional and only targeted at optimizing the creation time of the FFT object)

Description

This algorithm computes the power spectrum of an array of Reals. The resulting power spectrum has a size which is half the size of the input array plus one. Bins contain squared magnitude values.

References:

[1] Power Spectrum - from Wolfram MathWorld, http://mathworld.wolfram.com/PowerSpectrum.html

Source code

See also

PowerSpectrum (streaming) Spectrum (standard) Spectrum (streaming)