atan2(Array, Array) Function

Top 

Description

Computes the four-quadrant inverse tangent of (y/x) and returns values in the closed interval [-pi,pi].

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

atan2(

Array Y,


Array X)

 

 

Arguments

Y


Description:

The numerator in an element-by-element inverse tangent calculation.

 

 

X


Description:

The denominator in an element-by-element inverse tangent calculation.

 

 

 

Return Value

Type:

Array of number

Units:

rad

 

 

An array containing the inverse tangent of (Y[i]/X[i]).

 

Syntax

myArray1 = atan2(myArray2, myArray3);

 

 

See also

atan2