Conj
Complex arithmetic

Description

Manipulates complex numbers

Usage

Re(z)
Im(z)
Conj(z)
Mod(z)
Arg(z)

Arguments

z a complex vector
Value
returns a vector the same length as the input containing the real parts, imaginary parts, conjugates, moduli (absolute values), or arguments (angles counter-clockwise from 1+0i or the imaginary parts of the logarithms) of the input.
See Also
complex.
Examples
Re(3-4i)
Im(3-4i)
Conj(3-4i)
Mod(3-4i)
Arg(3-4i)
log(3-4i)
Package base version 6.1.1-7
Package Index