Owning Class: polynomials
Requires: MathScript RT Module
p = poly(z)
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.
|z||Specifies a real or complex vector or matrix. If z is a matrix, z must be square.|
|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.|
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|
Z = [1, 2, 3, 4]
P = poly(Z)
Z1 = roots(P)