Engee documentation

Polynomial

Calculates the value of a polynomial using the given coefficients.

blockType: Polynomial

Path in the library:

/Basic/Math Operations/Polynomial

Description

Block Polynomial 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 coefficients of the polynomial set using the parameters *Polynomial Coefficients*minus one.

Ports

Input

# IN_1 — input signal
scalar | vector | matrix

Details

The value for which the polynomial is calculated .

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Fixed

Complex numbers support

No

Output

# OUT_1 — calculated polynomial value
scalar | vector | matrix

Details

The value of the polynomial , calculated for the input signal.

Data types

Float64.

Complex numbers support

No

Parameters

Main

# Polynomial Coefficients — polynomial coefficients
Scalar / array of real and/or complex numbers

Details

The coefficients of the polynomial. The first coefficient corresponds to , the other coefficients are given in descending order of degrees . The last coefficient defines the free term of the polynomial.

Default value

[ +2.081618890e-019,-1.441693666e-014, +4.719686976e-010,-8.536869453e-006, +1.621573104e-001,-8.087801117e+001 ]

Program usage name

coefs

Tunable

Yes

Evaluatable

Yes