How can I save the output parameters for each step using lsqnonlin function?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Alan Weiss
2022-8-3
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!