From: yasin level on
I am wroking on a problem that requires me to use the nonlinear regression for estimation parameters.
I have 3 parameters in my equation:
x=a+b.exp(-ct)
I have data x and t
I need matlab code for fitting and estimation of my parameters with coef of regression.
Thanks
From: John D'Errico on
"yasin level" <pdf.amir(a)yahoo.fr> wrote in message <hno34l$ctb$1(a)fred.mathworks.com>...
> I am wroking on a problem that requires me to use the nonlinear regression for estimation parameters.
> I have 3 parameters in my equation:
> x=a+b.exp(-ct)
> I have data x and t
> I need matlab code for fitting and estimation of my parameters with coef of regression.
> Thanks

The curve fitting toolbox will do this nicely.

Or use my fminspleas.

http://www.mathworks.com/matlabcentral/fileexchange/10093

John
From: Matt J on


This would probably be applicable

http://www.mathworks.com/matlabcentral/fileexchange/10093-fminspleas