Prev Next angle

Angle Corresponding to a Complex Value [O-Matrix Function]
Syntax y = angle(z)

Returns a double precision matrix containing the element-by-element angle between the direction vector

( Re(z), Im(z) )

where and the real axis where Re(z) and Im(z) above are the real and imaginary parts of the complex elements of z. The elements of the result are between -pi and

<See O-Matrix Help System for further details. >

Or, if you have an internet connection: angle()