From 12:00 PM - 4:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Real and Imaginary to Polar (Multirate Dataflow)

Last Modified: September 13, 2017

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 = x 2 + y 2
t h e t a = arctan 2 ( y , x ) r a d i a n s
connector_pane_image
datatype_icon

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

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

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

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. r has the same data type structure as x and y.

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 in radians. theta has the same data type structure as x and y.

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

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics