Provide smooth 2D spline surface and interpolate input data
This blocks generates a 2D-surface object by approximating spline fitting.
Data to be fitted may be scattered or on a rectangular grid.
Rectangular data
In case of rectangular data points, set boolean parameter rectangular to true and provide the data as array in the common Modelica table form:
0 | y1 | y2 | y3 | ...
--+----+----+----+-----
x1 | z11| z12| z13| ...
x2 | z21| z22| z23| ...
x3 | z31| z32| z33| ...
...| ...| ...| ...| ...
Scattered data
In case of scattered data points, set parameter rectangular to false and provide the data as 3- or 4-column array:
x1 | y1 | z1 | w1 |
x2 | y2 | z2 | w2 |
x3 | y3 | z3 | w3 |
...| ...| ...| .. |
or
x1 | y1 | z1 |
x2 | y2 | z2 |
x3 | y3 | z3 |
...| ...| ...|
The last column w[i] is the optional weight of the data points. If no weights are given, any data points are weighted equally.
Generated at 2025-01-14T19:25:37Z
by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos