Converts the rectangular components of a complex number into its polar components.

This node converts the rectangular components to polar components using the following equations:

$r=\sqrt{{x}^{2}+{y}^{2}}$
$theta=\mathrm{arctan}2\left(y,x\right)\text{\hspace{0.17em}}radians$

## x

The x rectangular component of x + yi. This input supports scalar numbers and fixed-size 1-dimensional arrays of numbers.

Data Type Changes on FPGA

## y

The y rectangular component of x + yi. This input supports scalar numbers and fixed-size 1-dimensional arrays of numbers.

Data Type Changes on FPGA

## r

The distance from the origin to the point. r has the same data type structure as x and y.

Data Type Changes on FPGA

## theta

The angle for the line, r, from the origin to the point in radians. theta has the same data type structure as x and y.

Data Type Changes on FPGA