Back to Fourier Analysis
fftshift
Shift the zero-frequency component to the center of the spectrum.
Syntax
fftshift(a: NDArray) → r
Backends
TypeScriptnumwa
Description
Shift the zero-frequency component to the center of the spectrum.
Parameters
| Name | Description |
|---|---|
| a | Input array (real or complex) |
Returns
Examples
Try It
>> fftshift(fft(x))