Origin Version (Select Help-->About Origin): Origin 7 I would like to perform curve-fitting on a function that involves an integral. The data I would like to fit corresponds to the result of the integral. The function including the parameters to be fit corresponds to the function to be integrated? Am I able to perform such an operation with Origin? If so, how? I was unable to find a suitable integration command.
I am unfortuantely still having trouble. More specifically, I have datasets x and y. The desired fit for y (with parameters P1, P2, P3, P4, P5 and P6) is: y=(integral_from_0_to_x(P1*exp(-(x^2)/(P2^2))+P3*exp(-(x^2)/(P4^2)) +P5*exp(-(x^2)/(P6^2))))/(P1*(P2^2)+P3*(P4^2)+P5*(P6^2))
Is it impossible to fit this function with "Form" set to "Equations"? What is the easiest way to fit this function?
If you follow the kbase item on computing integral using script, you will need to set the equation form to Y-Script. If you want to use Origin C, you will need to check the "use Origin C" checkbox.