Create Polynomial From Roots VI

Owning Palette: Polynomial VIs

Requires: Full Development System

Creates polynomial P(x) from its roots. Wire data to the Roots input to determine the polymorphic instance to use or manually select the instance.

Details  Example

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Create Polynomial From Roots (DBL)

Roots contains the real roots for a polynomial. If Roots is empty, the VI sets P(x) to 1.
P(x) returns the real polynomial coefficients in ascending order of power.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Create Polynomial From Roots (CDB)

Roots contains the complex roots for a polynomial. If Roots is empty, the VI sets P(x) to 1.
P(x) returns the complex polynomial coefficients in ascending order of power.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Create Polynomial From Roots Details

The VI uses the following equation to create P(x):

P(x) = (x r1)(xr2)…(xrn) = xn + Pn – 1xn – 1 + … + P1x + P0

Example

Refer to the Create Polynomial from Roots of Unity VI in the labview\examples\Mathematics\Polynomial directory for an example of using the Create Polynomial From Roots VI.

 Open example  Find related examples