T O P I C R E V I E W |
FrederikBojsen |
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 :(
|
2 L A T E S T R E P L I E S (Newest First) |
FrederikBojsen |
Posted - 01/10/2019 : 03:56:43 AM I got it to work!
Thank you very much :) |
YimingChen |
Posted - 01/09/2019 : 11:48:37 AM Hi,
Please check this tutorial page: https://www.originlab.com/doc/Tutorials/Fitting-Integral-LabTalk
Thanks, James |
|
|