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!