Documentation Center

  • Trials
  • Product Updates

ifftshift

Inverse FFT shift

Syntax

ifftshift(X)
ifftshift(X,dim)

Description

ifftshift(X) swaps the left and right halves of the vector X. For matrices, ifftshift(X) swaps the first quadrant with the third and the second quadrant with the fourth. If X is a multidimensional array, ifftshift(X) swaps "half-spaces" of X along each dimension.

ifftshift(X,dim) applies the ifftshift operation along the dimension dim.

    Note:   ifftshift undoes the results of fftshift. If the matrix X contains an odd number of elements, ifftshift(fftshift(X)) must be done to obtain the original X. Simply performing fftshift(X) twice will not produce X.

See Also

| | |

Was this topic helpful?