Polar to Real and Imaginary

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

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

x = r * cos ( t h e t a ) x = r * cos ( t h e t a )
y = r * sin ( t h e t a ) y = r * sin ( t h e t a )

1378

Inputs/Outputs

datatype_icon

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.

datatype_icon

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.

datatype_icon

x

The x rectangular component of x + yi.

x has the same data structure as r and theta.

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.

datatype_icon

y

The y rectangular component of x + yi.

y has the same data structure as r and theta.

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.