Divide Polynomials VI

Owning Palette: Polynomial VIs

Requires: Full Development System

Divides polynomial P(x) by polynomial Q(x). The data types you wire to the P(x) and Q(x) inputs determine the polymorphic instance to use.

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

 Add to the block diagram  Find on the palette

Divide Polynomials (DBL)

P(x) contains the real coefficients for the dividend polynomial in ascending order of power.
Q(x) contains the real coefficients for the divisor polynomial in ascending order of power.
threshold specifies the level at which the VI removes from P(x)/Q(x) the trailing elements whose absolute values or relative values are less than or equal to threshold. If all the elements in P(x)/Q(x) are less than or equal to threshold, P(x)/Q(x) returns a one-element array.
threshold type specifies how the VI removes the trailing elements from P(x)/Q(x). If threshold type is Absolute Value, the VI removes the trailing elements from P(x)/Q(x) whose absolute values are less than or equal to threshold. If threshold type is Relative Value, the VI removes the trailing elements from P(x)/Q(x) whose absolute values are less than or equal to threshold *|x|, where x is the coefficient which has the maximum absolute value in resulting polynomial.

0Absolute Value (default)
1Relative Value
P(x)/Q(x) returns the real coefficients for the quotient polynomial in ascending order of power.
Remainder returns the real coefficients for the remainder polynomial 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.

Divide Polynomials (CDB)

P(x) contains the complex coefficients for the dividend polynomial in ascending order of power.
Q(x) contains the complex coefficients for the divisor polynomial in ascending order of power.
threshold specifies the level at which the VI removes from P(x)/Q(x) the trailing elements whose absolute values or relative values are less than or equal to threshold. If all the elements in P(x)/Q(x) are less than or equal to threshold, P(x)/Q(x) returns a one-element array.
threshold type specifies how the VI removes the trailing elements from P(x)/Q(x). If threshold type is Absolute Value, the VI removes the trailing elements from P(x)/Q(x) whose absolute values are less than or equal to threshold. If threshold type is Relative Value, the VI removes the trailing elements from P(x)/Q(x) whose absolute values are less than or equal to threshold *|x|, where x is the coefficient which has the maximum absolute value in resulting polynomial.

0Absolute Value (default)
1Relative Value
P(x)/Q(x) returns the complex coefficients for the quotient polynomial in ascending order of power.
Remainder returns the complex coefficients for the remainder polynomial 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.