sortconjugate (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

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)

文章是否对您有帮助?

没有帮助