Question: Fitting Data with an Implicit Model, e.g. with a numerical solution of an ODE

Hi, I would like to fit my data with a physical model. Unfortunately, I have the model in the form of an ODE which can be solved numerically only. So made a procedure output as follows:

solL:=dsolve({Lpde,ICS}, numeric, method=rkf45, output=listprocedure, parameters=[lambda[0],T[m]]);

ans:=proc(p1,p2,tt) solL(parameters=[p1,p2]); rhs(solL(tt)[2]); end proc;

So I have two parameters that need to be adjusted by fitting the model with the experimental data.

Is there a possibility to do this with maple. Maybe with a Downhill-Simplex Method or a Newton Method which minimizes the least squares without having an explicit expression of the model?

Please Wait...