Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

sortconjugate (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: basic

Requires: MathScript RT Module


c = sortconjugate(a)

c = sortconjugate(a, tol)

Legacy Name: cplxpair


Sorts complex numbers by their conjugate pairs.



Name Description
a Specifies a complex vector.
tol Specifies when to treat two complex numbers as complex conjugates. The default is 1.0E-14. tol is a positive real number.


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


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


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


 Was this document helpful?  submit
  Helpful Not Helpful