How can I save the output parameters for each step using lsqnonlin function?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Niccolò Barni
le 2 Août 2022
Réponse apportée : Alan Weiss
le 3 Août 2022
I am performing a nonlinear least square estimation of some parameters of a rational function to fit some experimental data, and I would like to save the parameters (x) obtained for each optimization step (and not just the final values). What can I do?
Best regards,
0 commentaires
Réponse acceptée
Alan Weiss
le 3 Août 2022
Write an output function to save the values, either to a workspace variable or to a file. For syntax details, see Output Function and Plot Function Syntax.
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!