image thumbnail

Fit Logistic Curve to a Data Set

by

 

10 May 2011 (Updated )

This is a Matlab GUI, that will try to fit a logistic function to a given set of data.

e=sum_sq_e(x,t,m)
function e=sum_sq_e(x,t,m)
r=x(1);
t0=x(2);
K = x(3);
h=K./(1+exp(-r*(t-t0)));
e=m'*m-(h'*m)^2/(h'*h);

Contact us