atan2d
Four-quadrant inverse tangent in degrees.
📝Syntax
d = atan2d(y, x)
📥Input Arguments
Parameter Description
y a numeric value
x a numeric value
📤Output Arguments
Parameter Description
d a numeric value
📄Description

d = atan2d(y, x) returns the four-quadrant inverse tangent (tan-1) of y and x, which must be real.

💡Examples
x = [1 0 -1 0];
y = [0 1 0 -1];
d = atan2d(y, x)
🔗See Also
tand
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub