Table Of Contents

sortconjugate

Version:
    Last Modified: March 15, 2017

    Sorts complex numbers by their conjugate pairs.

    Syntax

    c = sortconjugate(a)
    c = sortconjugate(a, tol)
    c = sortconjugate(a, tol, d)
    Legacy name: cplxpair

    Inputs

    a

    Complex vector.

    tol

    Specifies when to treat two complex numbers as complex conjugates. tol is a positive real number.

    Default: 1.0E-14

    d

    Dimension to be sorted.

    Outputs

    c

    a sorted by conjugate pairs. c is a complex vector of the same size as a.

    A = [1-i, 2, 1+i];
    B = sortconjugate(A)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics