| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
This page is generated automatically from the interpreter function registry and grouped by practical use.
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.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
removeDc | Optional parameter. If omitted, the command uses its internal default. |
hannWindow | Optional parameter. If omitted, the command uses its internal default. |
padPow2 | Optional parameter. If omitted, the command uses its internal default. |
spec = SIGNAL.SPECTRUM(signal, fps, TRUE, TRUE, TRUE)
freq = ARRAY.COLUMN(spec, 0)
mag = ARRAY.COLUMN(spec, 1)