Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

FFTWindow

Description

Spectrum analysis windowing types.

Use this to reduce leakage of signals across frequency bands.

Variables

RectangularW[n] = 1.0.
TriangleW[n] = TRI(2n/N).
HammingW[n] = 0.54 - (0.46 * COS(n/N) ).
HanningW[n] = 0.5 * (1.0 - COS(n/N) ).
BlackmanW[n] = 0.42 - (0.5 * COS(n/N) ) + (0.08 * COS(2.0 * n/N) ).
BlackmanHarrisW[n] = 0.35875 - (0.48829 * COS(1.0 * n/N)) + (0.14128 * COS(2.0 * n/N)) - (0.01168 * COS(3.0 * n/N)).