Discretisation of a non-linear LTI system

조회 수: 9 (최근 30일)
Benjamin Pommer
Benjamin Pommer 2023년 2월 25일
댓글: Benjamin Pommer 2023년 3월 2일
Dear Matlab community
I have a non-linear system which I want to implement in a model predictive control algorithm. Therefore, I would have used symbolic toolbox. My system is given time continuous and a discretization with the function c2d is not permitted. How can I do this?

채택된 답변

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023년 2월 27일
If you have the dynamics in symbolic form, you need to turn it into a form that can be directly consumed by Model Predictive Control Toolbox (which will also allow c2d if needed). I would recommend looking at this example that derives equations symbolically and then designs a nonlinear MPC controller
  댓글 수: 1
Benjamin Pommer
Benjamin Pommer 2023년 3월 2일
Thank you for your answer. I didnt use the matlab function but coded the MPC myself. Anyways, I solved the issue by implementing a difference method. Runge-Kutta did the best job in my case.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by