Engee documentation

Polynomial

Calculating the value of a polynomial from the given coefficients.

polynomial

Description

The Polynomial block calculates the value of the polynomial at each calculation step for the input signal .

The block icon displays the degree of the polynomial, i.e. the number of polynomial coefficients specified using the Polynomial coefficients parameter minus one.

Ports

Input

Port_1 - input signal
scalar | vector | matrix

Value for which the polynomial is calculated .

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Fixed.

Output

Port_1 - calculated value of the polynomial
scalar | vector | matrix

Polynomial value , calculated for the input signal.

Data types: Float64.

Parameters

Polynomial coefficients - polynomial coefficients
[ +2.081618890e-019, −1.44169366666e-014, +4.71968696976e-010, −8.536869453e-006, +1.621573104e-001, −8.087801117e+001 ] (By default) | actual array

Coefficients of the polynomial. The first coefficient corresponds to , the remaining coefficients are set in descending order of degree . The last coefficient specifies the free term of the polynomial.

Usage in program code

Block parameter

coefs

By default

[ +2.081618890e-019, −1.44169366666e-014, +4.71968696976e-010, −8.536869453e-006, +1.621573104e-001, −8.087801117e+001 ]