FUNCTION REFERENCE

atan2d

Four-quadrant inverse tangent in degrees.

Four-quadrant inverse tangent in degrees.

Syntax

atan2d(Y, X)

Inputs must have equal sizes or one must be scalar. Accepts real double or single input; a single input produces a single result. Both zero coordinates produce zero, including a negative-zero X.

Example

atan2d([1 -1 0], [0 0 -1])   % [90 -90 180]

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.