From: Ed on
Hi,

does anyone have a good suggestion on how to fit any integral function in an smart way to a data set y? What is the best syntax to use? For example
b
/
y(t) = | p*exp(1/2*(-v+V)/G^2)*t dv
/
a
with the right hand side being an integral from a to b, and

where V, and G are fitting parameters, p a constant, and t my x_data.

That means I would like to evaluate the integral and fit the function an the same time to the fitting parameters. Of course in this example the integral can be solved analytically followed by a fitting, but I actually have a case where there is no analytical solution to the integral function.

Thanks for any suggestions and help
Cheers