Complex conjugate
Zc = conj(Z)
example
Zc = conj(Z) returns the complex conjugate of each element in Z.
Zc
Z
collapse all
Find the complex conjugate of the complex number Z.
Z = 2+3i
Z = 2.0000 + 3.0000i
Zc = 2.0000 - 3.0000i
Create a 2-by-2 matrix with complex elements.
Z = [0-1i 2+1i; 4+2i 0-2i]
Z = 2×2 complex 0.0000 - 1.0000i 2.0000 + 1.0000i 4.0000 + 2.0000i 0.0000 - 2.0000i
Find the complex conjugate of each complex number in matrix Z.
Zc = 2×2 complex 0.0000 + 1.0000i 2.0000 - 1.0000i 4.0000 - 2.0000i 0.0000 + 2.0000i
Input array, specified as a scalar, vector, matrix, or multidimensional array. conj operates element-wise when Z is nonscalar.
conj
This function fully supports tall arrays. For more information, see Tall Arrays.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).
This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox).
complex | ctranspose | i | imag | j | real
complex
ctranspose
i
imag
j
real
You have a modified version of this example. Do you want to open this example with your edits?