ifft2
Two-dimensional inverse fast Fourier transform.
| Library |
|
Syntax
Function call
-
X = ifft2(Y)— returns two-dimensional discrete inverse Fourier transform of a matrix using the fast Fourier transform algorithm. IfYis a multidimensional array, then the functionifft2performs a two-dimensional inverse transformation for each dimension larger than2. Output argumentXhas the same size asY.
Arguments
Input arguments
# Y — input array
+
the matrix | multidimensional array
Details
The input array, specified as a matrix or multidimensional array. If Y has a type Float32, then the function ifft2 calculated with single precision, and X It also has a type Float32. Otherwise X returns as Float64.
| Типы данных |
|
| Support for complex numbers |
Yes |
# m — number of reverse conversion lines
+
a positive integer scalar
Details
The number of reverse conversion lines, set as a positive integer.
| Типы данных |
|
# n is the number of reverse conversion columns
+
a positive integer scalar
Details
The number of reverse conversion columns, set as a positive integer.
| Типы данных |
|
# symflag — type of symmetry
+
"nonsymmetric" (by default) | "symmetric"
Details
The type of symmetry defined as "nonsymmetric" or "symmetric". If the argumentative Y it is not exactly conjugate-symmetric due to rounding error., ifft2(Y,"symmetric") interprets Y as conjugate-symmetric, ignoring the second half of its elements (located in the negative frequency spectrum). For more information about conjugate symmetry, see Algorithms.
Output arguments
# X is the output array
+
the matrix | multidimensional array
Details
The output array returned as a matrix or multidimensional array.
Algorithms
-
Function
ifft2checks whether the matrix isYconjugate-symmetric. IfYconjugate-symmetric, the calculation of the inverse transformation is faster, and the output signal is real.Function is conjugate symmetric if . However, the fast Fourier transform of a two—dimensional time domain signal has half of the spectrum in positive frequencies and the other half in negative frequencies, with the first row and column reserved for zero frequencies. For this reason, the matrix
YIt is conjugate symmetric if all the following conditions are met:-
Y(1,2:end)is conjugate symmetric, orY(1,2:end) = conj(Y(1,end:-1:2)); -
Y(2:end,1)is conjugate symmetric, orY(2:end,1) = conj(Y(end:-1:2,1)); -
Y(2:end,2:end)is conjugate-centrosymmetric, orY(2:end,2:end) = conj(Y(end:-1:2,end:-1:2)).
-