atan2

atan2 calculates the four-quadrant inverse tangent.

r = atan2(y, x)

Return Value

r is the arctangent of y/x in the range [−π, π].

Parameters

y

y is a real matrix. The size must be identical as x.

x

x is a real matrix.

Example

* atan2(2,1)
1.1071

id-1338511