poly (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

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

Owning Class: polynomials

Requires: MathScript RT Module

Syntax

p = poly(z)

Description

Creates a polynomial with roots represented by an input vector or computes the characteristic polynomial of an input matrix. roots and poly are inverse operations.

Examples

Inputs

Name Description
z Specifies a real or complex vector or matrix. If z is a matrix, z must be square.

Outputs

Name Description
p Returns the coefficients in descending order of power of the polynomial with roots of z. If z is a matrix, p returns the coefficients in descending order of power of the characteristic polynomial of z. p is a real or complex vector.

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

Z = [1, 2, 3, 4]
P = poly(Z)
Z1 = roots(P)

Related Topics

conv
polyval
residue
roots

文章是否对您有帮助?

没有帮助