<< atan Trigonometric functions atan2d >>

atan2


Computes the four-quadrant inverse tangent.


Syntax


res = atan2(y, x)

Input argument


y

a numeric value (double or single real)

x

a numeric value (double or single real)

Output argument


res

a numeric value

Description


atan2 computes the four-quadrant inverse tangent.

Example


atan2(1, 0)

See also


atan.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< atan Trigonometric functions atan2d >>