Table Of Contents

Complex to Polar (G Dataflow)

Last Modified: January 23, 2017

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 * cos ( t h e t a ) + i r * sin ( t h e t a ) according to the following equations:

r = | z | = a 2 + b 2
t h e t a = arg ( z ) = arctan 2 ( b , a )
connector_pane_image
datatype_icon

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

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

r

The distance from the origin to the point, z.

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

theta

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

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)


Recently Viewed Topics