Polynomial Equations

1 PolynomialEvaluator

PolynomialEvaluator is a restricted class of block kind since both public variables have specified causality input or output.

You can for example use this class to evaluate a simple polynomial in terms of the built-in variable time, by instantiating the class with the coefficient vector
c = {1, 2, 3, 4}.

An alternative way is to bind the inputs and the outputs using modifier equations in the declaration of the
polyeval instance of PolynomialEvaluator.

2 Simulation of PolynomialEvaluator

Here the simulation of the PolyEvaluate1 is shown. The variables can then be plotted as below.

Here the simulation of the PolyEvaluate2 is shown.