Using Simulink | ![]() ![]() |
Perform evaluation of polynomial coefficients on input values.
Library
Description
The Polynomial block uses a coefficients parameter to evaluate a real polynomial for the input value.
You define a set of polynomial coefficients in the form accepted by MATLAB's polyval
command. The block will then calculate P(u) at each time step for the input u. Inputs and coefficients must be non-complex.
Data Type Support
The Polynomial block accepts real signals of types double or single.The Polynomial coefficients parameter must be of the same type as the inputs. The output data type is set to the input data type.
Parameters and Dialog Box
Polynomial coefficients
Values are in coefficients of a polynomial in MATLAB polyval
form, with the first coefficient representing xN, then decreasing in order until the last cofficient, which represents the constant for the polynomial. See polyval
for more information.
Characteristics
Direct Feedthrough |
Yes |
Sample Time |
Inherited from driving block |
Scalar Expansion |
No |
Dimensionalized |
Yes |
Zero Crossing |
No |
![]() | Outport | Prelook-Up Index Search | ![]() |