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 add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources 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 add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources 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 add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.

**Where This Node Can Run: **

Desktop OS: Windows

FPGA:
All devices (only within an optimized FPGA VI)

Web Server: Supported in VIs that run in a web application