Normalize Rational Polynomials (With Highest Denominator Term) (G Dataflow)

Normalizes numerator and denominator of rational polynomials by using the highest denominator term.

numerator

Numerator coefficients, in ascending order of power, of the rational polynomial.

This input accepts the following data types:

• 1D array of double-precision, floating-point numbers
• 1D array of complex double-precision, floating-point numbers

denominator

Denominator coefficients, in ascending order of power, of the rational polynomial.

This input accepts the following data types:

• 1D array of double-precision, floating-point numbers
• 1D array of complex double-precision, floating-point numbers

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

normalized numerator

Normalized numerator coefficients, in ascending order of power, of the rational polynomial.

This output can return the following data types:

• 1D array of double-precision, floating-point numbers
• 1D array of complex double-precision, floating-point numbers

normalized denominator

Normalized denominator coefficients, in ascending order of power, of the rational polynomial.

This output can return the following data types:

• 1D array of double-precision, floating-point numbers
• 1D array of complex double-precision, floating-point numbers

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Algorithm for Normalizing Rational Polynomials with Highest Denominator Term

The following equations define the numerator and denominator polynomials of a rational polynomial:

$\mathrm{numerator}=\underset{i=0}{\overset{n}{\sum }}{N}_{i}{x}^{i}$
$\mathrm{denominator}=\underset{k=0}{\overset{m}{\sum }}{D}_{k}{x}^{k}$

where

• n is the number of numerator coefficients in the rational polynomial
• m is the number of denominator coefficients in the rational polynomial
• Ni is the ith numerator in the rational polynomial
• Dk is the kth denominator in the rational polynomial

This node finds the highest nonzero denominator Dm in the rational polynomial where Dm ≠ 0.

This node uses the following equation to normalize the numerator and denominator polynomials with Dm:

$\frac{\underset{i=0}{\overset{n}{\sum }}\left({N}_{i}\text{\hspace{0.17em}}/\text{\hspace{0.17em}}{D}_{m}\right){x}^{i}}{\underset{k=0}{\overset{m}{\sum }}\left({D}_{k}\text{\hspace{0.17em}}/\text{\hspace{0.17em}}{D}_{m}\right){x}^{k}}$

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application