Skip to content

phase

Phase angle of a complex number (radians).

Y = phase(X)

Returns the angle of X in the complex plane, in radians, in (-π, π]. Same as atan2(imag(X), real(X)).

phase(1 + 1i) % π/4
  • degree — Phase angle of a complex number (degrees).
  • atan2 — Four-quadrant arctangent.
  • abs — Absolute value.