Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
farzad
farzad le 6 Mar 2020
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 commentaires
farzad
farzad le 7 Mar 2020
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
Walter Roberson
Walter Roberson le 8 Mar 2020
Can you post the equations, together with representative values of any constants they require?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by