angle
Phase angle
📝Syntax
R = angle(Z)
📥Input Arguments
Parameter Description
Z a variable (double, single, complex)
📤Output Arguments
Parameter Description
R result of angle function.
📄Description

angle computes the phase angle, equivalent to atan2(imag(Z), real(Z)).

💡Examples
x = [1+i,-i;i,2i];
r = angle(x)
🔗See Also
atan2
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub