atan2d

atan2d(Y,X) returns the four quadrant inverse tangent, expressed in degrees.

Examples

>> [x,y] = meshgrid(-5:5)
surf(x, y, atan2d(y, x), struct('lineWidth', 0.1, 'pitch', 0.7))

[x:11x11 double]
[y:11x11 double]
[ans:1x1 struct]

Resources

See also

atan | atan2 | atand | tan | tand