Returns the polar components of a complex number.

Given z in rectangular form z = a + bi, this node converts the polar components of $z=r*\mathrm{cos}\left(theta\right)+i\text{\hspace{0.17em}}r*\mathrm{sin}\left(theta\right)$ according to the following equations:

$r=|z|=\sqrt{{a}^{2}+{b}^{2}}$
$theta=\mathrm{arg}\left(z\right)=\mathrm{arctan}2\left(b,a\right)$

## z

The complex number. This input supports complex numbers, clusters of complex numbers, arrays of complex numbers, and arrays of clusters of complex numbers.

Data Type Changes on FPGA

## r

The distance from the origin to the point, z.

Data Type Changes on FPGA

## theta

The angle for the line, r, from the origin to the point, z, in radians.

Data Type Changes on FPGA