matlab - exponential curve fitting with 3 coefficients -


i have data (two same size vectors x , y) , fit exponential function f(x)=a+(b-a)*exp(-c*x) data matlab. goal find coefficients a, b , c.

i found fit(x,y,'exp2') , fit(x,y,'exp1','startpoint',[x0,y0]) in matlab manual little different looking for.

you can fit using custom equation:

f = fit(x, y, 'a+(b-a)*exp(-c*x)') 

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

http - Safari render HTML as received -