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 件のコメント
Walter Roberson
2020 年 3 月 8 日
Can you post the equations, together with representative values of any constants they require?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Equation Solving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!