ifftshift
|
Page in progress. |
Reverse zero frequency shift.
| Library |
|
Syntax
Function call
-
X = ifftshift(Y)— returns the Fourier transform of the input arrayY, shifted by zero frequency, to the original conversion result. In other words, the functionifftshiftcancels the result of the functionfftshift.-
If
Y— vector, then functionifftshiftswaps the left and right halvesY. -
If
Y— the matrix, then the functionifftshiftswaps the first quadrantYwith the third, and the second quadrant with the fourth. -
If
Y— a multidimensional array, then the functionifftshiftswaps half spacesYfor each dimension.
-
Arguments
Input arguments
# Y — input array
+
vector | matrix | multidimensional array
Details
An input array specified as a vector, matrix, or multidimensional array.
| Data types |
|
| Support for complex numbers |
Yes |
# dim — the measurement by which the operation is performed
+
positive integer scalar
Details
The dimension on which the operation is performed is specified as a positive integer. If the value is not specified, then the function ifftshift swaps all dimensions.
-
Consider the input matrix
Yc. Operationifftshift(Yc,1)swaps the halves of each column of the matrixYc. -
Consider the matrix
Yr. Operationifftshift(Yr,2)swaps the halves of each row of the matrixYr.
| Data types |
|
Output arguments
# X — output array
Details
The output array returned as a vector, matrix, or multidimensional array.