Table Of Contents

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

Version:
    Last Modified: March 15, 2017

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

    connector_pane_image
    datatype_icon

    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
    datatype_icon

    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
    datatype_icon

    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

    datatype_icon

    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
    datatype_icon

    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
    datatype_icon

    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 Lowest Denominator Term

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

    numerator = i = 0 n N i x i
    denominator = k = 0 m 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 lowest nonzero denominator Dj in the rational polynomial where Dj ≠ 0 and Dj-1 = Dj-2 = … = D1 = D0 = 0.

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

    i = 0 n ( N i / D j ) x i k = 0 m ( D k / D j ) x k

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics