Perform evaluation of polynomial coefficients on input values
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.
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.
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.
In the Boiler Plant model/digital thermometer subsystem, the Polynomial block models a first-order polynomial using the coefficients [0.05 0.75]: