# Polar to Complex (G Dataflow)

Version:

Creates a complex number from two values in polar notation.

Given z in rectangular form z = a + bi, this node converts the polar components according to the following equation:

$z=r*\mathrm{cos}\left(theta\right)+i\text{\hspace{0.17em}}r*\mathrm{sin}\left(theta\right)$

## r

The distance from the origin to the point, z. 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.

## theta

The angle for the line, r, from the origin to the point, z, in radians. 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.

## z

The complex number. z has the same data type as r and theta, with complex representation instead of scalar.

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: This product does not support FPGA devices