How do I plot the progress of fmincon to see the convergence of the approximation?
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Mario Malic
le 14 Oct 2020
Unfortunately, my background is not in EE, so control-stuff is not my cup of tea.
Réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Optimization Toolbox 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!