Skip to content

conj

Complex conjugate

conj(A)

  • It returns the complex conjugate of each element of the array A.

Example 1: Conjugates of complex numbers.

a=rand(3);
b=rand(3);
z=a+b*i
conj(z)
z = 1e-1 × 
 6.181 + 9.833i   5.117 + 1.620i   8.538 + 3.703i
 6.361 + 2.436i   8.653 + 8.035i   1.878 + 7.468i
 0.162 + 6.056i   6.453 + 5.079i   7.921 + 7.049i

ans = 1e-1 × 
 6.181 - 9.833i   5.117 - 1.620i   8.538 - 3.703i
 6.361 - 2.436i   8.653 - 8.035i   1.878 - 7.468i
 0.162 - 6.056i   6.453 - 5.079i   7.921 - 7.049i