This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Perform evaluation of polynomial coefficients on input values

  • Library:
  • Simulink / Math Operations


The Polynomial block evaluates P(u) at each time step for the input u. You define a set of polynomial coefficients in the form that the MATLAB® polyval command accepts.



expand all

Value at which to evaluate the polynomial P(u).

Data Types: single | double


expand all

Value of the polynomial P(u) evaluated at the input signal.

Data Types: single | double


expand all

Specify polynomial coefficients in MATLAB polyval form. The first coefficient corresponds to xN and the remaining coefficients correspond to decreasing orders of x. The last coefficient represents the constant for the polynomial.

Programmatic Use

Block Parameter: coefs
Type: real array
Default: [ +2.081618890e-019, -1.441693666e-014, +4.719686976e-010, -8.536869453e-006, +1.621573104e-001, -8.087801117e+001 ]

Block Characteristics

Data Types

double | single

Direct Feedthrough


Multidimensional Signals


Variable-Size Signals


Zero-Crossing Detection


Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

PLC Code Generation
Generate Structured Text code using Simulink® PLC Coder™.

See Also


Introduced before R2006a