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

poly (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

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