Inverse zero-frequency shift
Rearranges a zero-frequency-shifted Fourier transform back to the original.
ifftshift(x, MARGIN = 2)
x |
input data, specified as a vector or matrix. |
MARGIN |
dimension to operate along, 1 = row, 2 = columns (default).
Specifying |
Undo the action of the fftshift function. For even length x
,
fftshift
is its own inverse, but not for odd length input.
back-transformed vector or matrix.
Vincent Cautaerts, vincent@comf5.comm.eng.osaka-u.ac.jp,
adapted by John W. Eaton.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
Xeven <- 1:6 res <- fftshift(fftshift(Xeven)) Xodd <- 1:7 res <- fftshift(fftshift(Xodd)) res <- ifftshift(fftshift(Xodd))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.