Skip to content

signal.Fft.Function.fftShift

Christian d'Heureuse edited this page Jun 7, 2026 · 2 revisions

dsp-collection / signal/Fft / fftShift

Function: fftShift()

function fftShift(x): ComplexArray;

Defined in: signal/Fft.ts:257

Shifts the zero-frequency component to the center of the spectrum.

The input array it rotated by x.length / 2 to the right.

Parameters

x

ComplexArray

Returns

ComplexArray

Clone this wiki locally