Is there any way to graph the MPC cost function?
7 次查看(过去 30 天)
显示 更早的评论
Hello, I want to graph the MPC cost function and see how it converges. Does MPC object give you the information about the cost function data? How about MPC designer App? Is there any section in which I can see the cost function convergence graph? Thanks
1 个评论
Sam Chak
2023-10-25
Do you have the mathematical formula for the MPC cost function? If the formula is a mathematical function of the states and inputs, , then I believe you can manually plot it out with plot(t, J). Have you tried that?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Refinement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!