angle
Returns the phase angle of z equal to atan2(imag(z), real(z)).
Syntax
angle(z)
Inputs
- z
 - Angle to be computed.
 
Outputs
- R
 - The resulting phase angle of z.
 
Example
Simple angle example with complex input:
angle(3+5i)
      ans = 1.03037683
      Simple matrix angle example:
angle([1,2,3;-4,-5,6])
      R = [ 0 0 0 ; 3.14159 3.14159 0 ]