Re/Im To Polar Function

Owning Palette: Complex Functions

Requires: Base Development System

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

The connector pane displays the default data types for this polymorphic function.

Details  

 Add to the block diagram  Find on the palette
x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
r is of the same data type structure as x and y.
theta is of the same data type structure as x and y. theta is in radians.

Re/Im To Polar Details

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

r = sqrt(x² + y²)

theta = arctan2(y,x) radians