Stop message upon completion of fsolve
Whenever fsolve finishes, it gives the output
Eq开发者_StackOverflow中文版uation solved.
fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
<stopping criteria details>
Is it possible to stop this?
try setting the options:
opts = optimset('Diagnostics','off', 'Display','off');
[x,fval] = fsolve(@myfun, x0, opts);
精彩评论