Table Of Contents

Complex to Polar (G Dataflow)

Version:
    Last Modified: April 4, 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 ( theta ) + i r * sin ( theta ) according to the following equations:

    r = | z | = a 2 + b 2
    theta = 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, arrays of clusters of complex numbers, and waveforms.

    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: This product does not support FPGA devices


    Recently Viewed Topics