Discretisation of a non-linear LTI system

8 ビュー (過去 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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by