Citation:
beta = nlinfit(X,y,fun,beta0) returns a vector beta of coefficient estimates for a nonlinear regression of the responses in y on the predictors in X using the model specified by fun. X is an n-by-p matrix of p predictors at each of n observations. y is an n-by-1 vector of observed responses. fun is a function handle to a function of the form:
yhat = modelfun(b,X)
where b is a coefficient vector. beta0 is a vector containing initial values for the coefficients. beta is the same length as beta0.
Donc j'imagine quelque chose comme