Hi, I am unable to fit the non-linear curve with a user defined function. It is not initializing at all? Do I require any initialization of parameters? and How? The function is y=(a*(h+x+1/k)-sqrt((a^2)*(h+x+1/k)^2-4*h*x*a^2))/2 where X is the independent variable, Y is the dependent variable and a,h,k are the parameters.
Yes, you need to initialize your parameters when you do fitting with a user-defined function. But if you create a new function in Fitting Function Builder in Origin 8.5, Origin will set the initial values of all parameters as "1" by defualt.