Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

poly (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the polynomials class.

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.

Examples

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

Related Topics

conv
polyval
residue
roots


Resources


 

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