How do I improve solving 18 second order system of algebraic equations in fsolve ?

1 次查看(过去 30 天)
Hi All
trying to solve 18 nonlinear (2nd order)equations using fsolve I get : possibility of inacuaracy in the results. while I have used the options like : 1e6 iterations plus 1e-5 solution tolerance.
this is the options setting :
options = optimoptions(@fsolve,'Display','iter','MaxFunEvals',1e6,'MaxIter',1e6,'TolFun',1e-6,'DerivativeCheck','on','Diagnostics','on');
and this is the error I get
Equation solved, inaccuracy possible.
The vector of function values is near zero, as measured by the default value
of the function tolerance. However, the last step was ineffective.
<stopping criteria details>
is there a way to improve it ?
  10 个评论
farzad
farzad 2020-3-7
dear Walter, well with the current inaccuracy, my results are not super good and cause large errors in the next post processing on the results and give bigger deviations later. so I would need a close enough result. I thought 10^-5 is the difference of calculated with respect to the expected. I reduced it but nothing chaged. i need to make an executable later, so I dont know if vpasolve could be useful

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Equation Solving 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by