FrederikBojsen
Denmark
2 Posts |
Posted - 01/09/2019 : 10:03:00 AM
|
Hi people,
I need help fitting some data, but I'm unsure how to make it work properly
The function is y = yO*exp(Integral(a(x)), where a(x) = a0 + a1*x + a2*x^-2
What I did:
Used 'fitting function builder' - model (explicit), expression type (expression) + include integration during fitting
Integrand name: Myint Integration variable: x arguments: a0, a1, a2 (Another question -> what is function double?)
return a0 + a1*x + a2*x^-2
Variables and Parameters:
independent variables: x dependent variables: y parameters: a0,a1,a2 (is this wrong? Both having a0, a1 and a2 as parameters and arguments?) constants: y0
y0*exp(integral(Myint, 0 ,850 , , ,))
My checks of the function just says - incorrect number of arguments passed to function..
I know that a0 is around 10^-4, a1 is around 10^-8, while a2 is zero or below (have no idea how to limit this parameter to be below zero)
Need help evidently :(
|
|