HyperMath

Atan2

Atan2

Previous topic Next topic No expanding text in this topic  

Atan2

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The four quadrant inverse tangent of the argument.

Syntax

t = Atan2(y, x)

Argument

Name

Description

 

y

A real or complex scalar, vector, or matrix.

 

x

A real or complex scalar, vector, or matrix.

Output

Name

Description

 

t

The inverse tangent of each entry in radians.

Example

Find the inverse tangent of elements in a matrix.

 

Syntax

 

T = Atan2([1.0,0.5], [-1.0,0.866])

 

Result

 

T = 2.3562  0.52361

See Also:

Asin

Acos

Atan

Cos

Sin

Tan