Signal functions

This page is generated automatically from the interpreter function registry and grouped by practical use.

Page map

Signal functions 1

SIGNAL.SPECTRUM

FUNCTIONSIGNALBATCH-FRIENDLY
Kind: Function   Category: Signal functions   Namespace: SIGNAL

SIGNAL.SPECTRUM(signal, fps [, removeDc [, hannWindow [, padPow2]]])

Computes a Hann-windowed DFT magnitude spectrum from a numeric signal. Returns an Nx2 array: frequency Hz, magnitude.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
removeDcOptional parameter. If omitted, the command uses its internal default.
hannWindowOptional parameter. If omitted, the command uses its internal default.
padPow2Optional parameter. If omitted, the command uses its internal default.

Minimal example

spec = SIGNAL.SPECTRUM(signal, fps, TRUE, TRUE, TRUE)
freq = ARRAY.COLUMN(spec, 0)
mag = ARRAY.COLUMN(spec, 1)