From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Version:

Computes the inverse FFT shift spectrum.

## Syntax

c = ifft_shift(a)
c = ifft_shift(a, b)
Legacy name: ifftshift

## a

Vector or array of any dimension.

## b

Dimension for swapping. b is an integer. If you do not specify b, the function swaps each dimension sequentially.

## c

Shifted version of a.If a is a vector, ifft_shift(a) swaps the left and right parts of a. If a is a matrix, c = ifft_shift(a) swaps quadrants 1 and 3 and quadrants 2 and 4. If a is a vector, c = ifft_shift(a) swaps each dimension sequentially. c is a vector or array of any dimension.