我正在尝试使用 fsolve 求解这个线性方程组,
options = optimoptions('fsolve','Display','iter');
guess=[0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 0; 400000; 400000];
[Unkn,value]=fsolve(@handleit,guess,options);
“handleit”在哪里
function Eqn = handleit(u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15,f1,f2,f16)
Eqn=[...some equation is here...];
当我执行此操作时,出现以下错误,
Error using handleit (line 2)
Not enough input arguments.
Error in fsolve (line 218)
fuser = feval(funfcn{3},x,varargin{:});
Caused by:
Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.
关于错误的最后一行,我已将我的猜测代入到 handleit 函数中,并对其进行评估而没有任何错误