<>在运行function f=curvefun(x,tdata)
f=x(1)+x(2)*exp(-0.02*x(3)*tdata);</P><>tdata=linspace(100,1000,10);
cdata=1e-05.*[459 499 535 565 590 610 626 639 650 659];
x0=[0.2,0.05,0.05];
x=curvefit('curvefun',x0,tdata,cdata)时出错提示</P><>Warning: Wrong spelling of 'private' as a directory name in D:\MATLAB7\toolbox\m\PRIVATE\NLSQOLD.M
> In CURVEFIT at 144</P><P>??? Undefined command/function 'lsint'.</P><P>Error in ==> NLSQOLD at 67
[OLDX,OLDF,OPTIONS]=lsint(XOUT,CostFunction,OPTIONS);</P> |