phase
Phase angle of a complex number (radians).
Syntax
Section titled “Syntax”Y = phase(X)Description
Section titled “Description”Returns the angle of X in the complex plane, in radians, in (-π, π]. Same as atan2(imag(X), real(X)).
Example
Section titled “Example”phase(1 + 1i) % π/4