PDA

查看完整版本 : 在fsolve完成时停止消息


poster
2019-12-10, 20:48
只要fsolve完成,它就会输出

Equation 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. 有可能停止吗?



回答:

尝试设置选项:

opts = optimset('Diagnostics','off', 'Display','off'); [x,fval] = fsolve(@myfun, x0, opts);

更多&回答... (https://stackoverflow.com/questions/3697936)