开发者

Stop message upon completion of fsolve

开发者 https://www.devze.com 2023-01-16 08:56 出处:网络
Whenever fsolve finishes, it gives the output Eq开发者_StackOverflow中文版uation solved. fsolve completed because the vector of function values is near zero

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);
0

精彩评论

暂无评论...
验证码 换一张
取 消