ifftn
N-dimensional inverse discrete Fourier transform.
Category: Mathematics > Fourier Analysis and Filtering
Syntax
X = ifftn(Y)
Inverse transform along every dimension.
X = ifftn(Y, sz)
Pads or truncates Y to the size vector sz first.
Description
ifftn(fftn(X)) returns X, up to rounding that is removed for real data. For matrices it agrees with ifft2.
Input arguments
Y- N-D spectrum, typically from
fftn. sz- Vector with the transform length in each dimension.
Output arguments
X- N-D array, real when
Yis conjugate symmetric.
Example
Round trip on a volume
V = reshape(1:8, 2, 2, 2);
W = ifftn(fftn(V));
isequal(round(W), V)
size(W)
Output
ans = logical
1
ans = 1×3
2 2 2