modelTestInterpolateParametric
To test smoothOrder in Modelica.Math.Vectors.interpolate
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | tabx | {0, 1, 2, 3, 4, 5} | |
| Real[:] | taby | tabx.*tabx | |
| Real | p | 1 | So that the variable is integrated |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | ||
| Real | y | ||
| Real | xIntegrated | ||
| Integer | i |