This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Perform evaluation of polynomial coefficients on input values


Math Operations


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

Data Type Support

The Polynomial block accepts real signals of type double or single. The Polynomial coefficients parameter must be of the same type as the inputs. The output data type is the same as the input data type.

For more information, see Data Types Supported by Simulink in the Simulink® documentation.


Polynomial coefficients

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. See polyval in the MATLAB documentation for more information.


The sldemo_boiler model shows how to use the Polynomial block.

In the Boiler Plant model/digital thermometer subsystem, the Polynomial block models a first-order polynomial using the coefficients [0.05 0.75]:

For more information, see the model description.


Data Types

Double | Single

Sample Time

Inherited from driving block

Direct Feedthrough


Multidimensional Signals


Variable-Size Signals


Zero-Crossing Detection


Code Generation


Introduced before R2006a

Was this topic helpful?