Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Interpolating and fitting

Interpolating and fitting

Hello,
I have some data extracted from matlab which i want them to be accessible in openmodelica. The data are in the form of table of x,y and the value z.. I want to create a function that reproduce the point z out of x and y, in which the function can also interpolates nicely between x and y. So basically the Modelica interpolation will have to load the table of results and do the interpolation. Is this possible ? can anyone lead me to the way ?
thanks for the help in advance.
I attached my data with this message, the first row and the first column corresponds to the x and y values respectively.
data.txt

Edited by: DATA99 - Oct-18-19 10:31:23
Attachments:

Re: Interpolating and fitting

It sounds like what you  want is a CombiTable2D:

CombiTable2D

There are 0 guests and 0 other users also viewing this topic