非线性最小二乘 matlab
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/19 14:10:59
非线性最小二乘 matlab
之前已经定义过函数c2fun28.m了
K0=[1,1];
>> K=lsqnonlin('c2fun28',K0)
运行后?Error using ==> optim\private\lsqncommon
User supplied function failed with the following error:
Error using ==> feval
Undefined command/function 'c2fun28'.
Error in ==> lsqnonlin at 147
[x,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ...
之前已经定义过函数c2fun28.m了
K0=[1,1];
>> K=lsqnonlin('c2fun28',K0)
运行后?Error using ==> optim\private\lsqncommon
User supplied function failed with the following error:
Error using ==> feval
Undefined command/function 'c2fun28'.
Error in ==> lsqnonlin at 147
[x,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ...
K=lsqnonlin(@c2fun28,K0)