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

poly (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: 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


 

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