hebut 发表于 2011-10-8 14:47

fsolve这段提示是什么意思?

用fsolve求解八元二次方程组
提示得到复数无法继续
而我的方程中是只有实数的
为什么会出现复数呢

??? Error using ==> lsqfcnchk>checkfun at 142
User function 'myfun' returned a complex value when evaluated;
FSOLVE cannot continue.

Error in ==> fsolve at 254
            fuser = feval(funfcn{3},x,varargin{:});

Error in ==> num_sol1 at 362
= fsolve(@myfun,x0,options);

Caused by:
    Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.
页: [1]
查看完整版本: fsolve这段提示是什么意思?