How can I save the output parameters for each step using lsqnonlin function?

6 ビュー (過去 30 日間)
Niccolò Barni
Niccolò Barni 2022 年 8 月 2 日
回答済み: Alan Weiss 2022 年 8 月 3 日
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,

採用された回答

Alan Weiss
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 件)

カテゴリ

Help Center および File ExchangeNonlinear Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by