What norm StepTolerance uses for multivariable?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to define a StepTolerance for the lsqnonlin with 'trust-region-reflective'algorithm to solve a system of 4 variables, so X has dimension 4x1.
"StepTolerance is a lower bound on the size of a step, meaning the norm of (xi – xi+1). If the solver attempts to take a step that is smaller than StepTolerance, the iterations end."
3 commentaires
Torsten
le 18 Juil 2024
Modifié(e) : Torsten
le 18 Juil 2024
In this case, to get full control, you'd stop the iteration on your own by using the OutputFnc function. Here, you can save the convergence history of the solver and thus compare the most recent iterate x_i+1 with the previous ones x_j for j <= i during the computational process.
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!