Hi, I am trying to fit some data to the following function below:
I can get it to fit in mathcad but cannot get it working in matlab. This is my coding.
f = fit(x,y,myEqn,'Normalize','off', 'StartPoint',[Bhi,2,cx,20,Bhi]);
I have assumed the coefficients match up as shown above.
Then view the fit at higher resoluton:
myEqn = (-a/(1+exp(c*((xdataFine-b)/h).^2)-1))+d;
Thanks for any help. Jason