Skip to content

atan2d

elfun · scripts/elfun/atan2d.m

atan2d (Y, X)  --  four-quadrant arctangent of Y/X in degrees, in [-180, 180].

Y and X must be real single or double arrays of compatible (broadcastable)
sizes.  The result is single if either argument is single.