From 12:00 PM - 4:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

Syntax

c = sortconjugate(a)

c = sortconjugate(a, tol)

Legacy Name: cplxpair

Description

Sorts complex numbers by their conjugate pairs.

Examples

Inputs

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.

Outputs

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

Details

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

Examples

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

WAS THIS ARTICLE HELPFUL?

Not Helpful