Simulink Reference    
Polynomial

Perform evaluation of polynomial coefficients on input values

Library

Math Operations

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 then calculates P(u) at each time step for the input u. Inputs and coefficients must be real.

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 coefficient, which represents the constant for the polynomial. See polyval in the MATLAB documentation 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