现在用matlab求解一组非线性方程组,遇到如下问题:
No solution found.
fsolve stopped because the relative size of the current step is less than the
default value of the step size tolerance squared, but the vector of function values
is not near zero as measured by the default value of the function tolerance.
具体原因如下:
fsolve stopped because the relative norm of the current step, 5.967422e-013, is less than
max(options.TolX^2,eps) = 1.000000e-012. However, the sum of squared function values,
r = 3.231949e+045, exceeds sqrt(options.TolFun) = 1.000000e-003.
Optimization Metric Options
relative norm(step) = 5.97e-013 max(TolX^2,eps) = 1e-012 (default)
r = 3.23e+045 sqrt(TolFun) = 1.0e-003 (default)
我想修改默认值,请高手指点。谢谢。 |