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

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


icon

Inputs/Outputs

  • cdbl.png x

    x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.

  • cdbl.png y

    y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.

  • idbl.png r

    r is of the same data type structure as x and y.

  • idbl.png theta

    theta is of the same data type structure as x and y. theta is in radians.

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

    r = sqrt(x² + y²) theta = arctan2(y,x) radians