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

sortconjugate (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

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)


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit