Y is a vector of response (dependent variable) values. Typically, X is a
design matrix of predictor (independent variable) values, with one row
for each value in Y and one column for each coefficient. However, X
may be any array that MODELFUN is prepared to accept. MODELFUN is a
function, specified using @, that accepts two arguments, a coefficient
vector and the array X, and returns a vector of fitted Y values. BETA0
is a vector containing initial values for the coefficients. 作者: 厚积薄发 时间: 2010-6-4 19:25
[beta r]=nlinfit(breeds(i).earmark(j).tdata(:,5),breeds(i).earmark(j).tdata(:,7),@Gompertz,[100 2 0.001]); 这个语法没有错误!作者: 枫露之茗 时间: 2010-6-6 02:05
额……路过,顶一下 作者: qq397277891 时间: 2010-6-6 21:01
好久没用非线性拟合了,感觉很生疏作者: xiwu 时间: 2010-6-8 18:58
多谢大家出言了