FUNCTION REFERENCE
fftshift
Move the zero-frequency component to the center.
Move the zero-frequency component to the center.
Syntax
Y = fftshift(X)Syntax
Y = fftshift(X, dim)Each shifted dimension of length n is rotated by floor(n/2) positions.
Example
fftshift([1 2 3 4 5]) % [4 5 1 2 3]Works on N-D arrays: every dimension, or only dimension dim.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.