conj
Complex conjugate
Syntax
[y] = conj(x)
Arguments
- x,y
Matrices of real or complex numbers (full or sparse storage). Matrices of polynomials or rationals, with real or complex coefficients.
Description
conj(x)
components are the complex conjugate of x
components.
Examples
x = [1+%i, -%i; %i, 2*%i]; conj(x) x'-conj(x) //x' is conjugate transpose // With polynomials: x = [%z-%i 2*%i %i*%z^2-1] conj(x) // With rationals: A = [ %z/(1-%z) (1-%z)/%z^2] B = A(1,[2 1]) C = A + %i*B conj(C) B,imag(conj(C))
See also
- quote — (') transpose operator, string delimiter
History
Version | Description |
6.0 | Extension to rationals |
Report an issue | ||
<< complex | Complex numbers | imag >> |