How do I plot the progress of fmincon to see the convergence of the approximation?

8 ビュー (過去 30 日間)
John Petersen
John Petersen 2020 年 10 月 12 日
コメント済み: Mario Malic 2020 年 10 月 14 日
I want to see the output at each iteration of the optimization. I am solving for MPC and want to plot the entire future solution at each iteration of the algorithm to see how the system behaves throughout the optimization process. I tried the PlotFcns option but this doesn't give me the vector of outputs, I think just the first element. Is there a way to do this?
  8 件のコメント
John Petersen
John Petersen 2020 年 10 月 13 日
I'd be glad to discuss it more with you directly instead of through this medium if you want to start a discussion through email.
Yes, thanks for the link. It was what I was looking for.
Mario Malic
Mario Malic 2020 年 10 月 14 日
Unfortunately, my background is not in EE, so control-stuff is not my cup of tea.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by