Computes the arctangent of one value divided by another value (**y**/**x**).

This node can compute the arctangent for angles in any of the four quadrants of the x-y plane, whereas the Inverse Tangent node computes the arctangent in only two quadrants.

## y

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

Data Type Changes on FPGA

When you use this node on the FPGA or simulated FPGA, the data type for this input changes to a fixed-point number. This change allows LabVIEW to know the size of the input at compile time.

## x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

Data Type Changes on FPGA

When you use this node on the FPGA or simulated FPGA, the data type for this input changes to a fixed-point number. This change allows LabVIEW to know the size of the input at compile time.

## atan2(y,x)

Result of the operation. **atan2(y,x)** falls in the range [-pi, pi].

When

**x** or

**y** are complex, the following equation defines

**atan2(y,x)**:

$a\mathrm{tan}2(y,x)=\frac{1}{2}i\mathrm{ln}\left(\frac{i+\frac{y}{x}}{i-\frac{y}{x}}\right)$

Data Type Changes on FPGA

When you use this node on the FPGA or simulated FPGA, the data type for this output changes to a fixed-point number. This change allows LabVIEW to know the size of the output at compile time.

**Installed By: **LabVIEW Communications System Design Suite (introduced in 1.0)

**Where This Node Can Run: **

Desktop OS: Windows

FPGA: All devices (only within an FPGA Algorithm)