Inverse zero-frequency shift
X = ifftshift(
rearranges
a zero-frequency-shifted Fourier transform Y
)Y
back
to the original transform output. In other words, ifftshift
undoes
the result of fftshift
.
If Y
is a vector, then ifftshift
swaps
the left and right halves of Y
.
If Y
is a matrix, then ifftshift
swaps
the first quadrant of Y
with the third, and the
second quadrant with the fourth.
If Y
is a multidimensional array,
then ifftshift
swaps half-spaces of Y
along
each dimension.