Discretisation of a non-linear LTI system

9 Ansichten (letzte 30 Tage)
Benjamin Pommer
Benjamin Pommer am 25 Feb. 2023
Kommentiert: Benjamin Pommer am 2 Mär. 2023
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?

Akzeptierte Antwort

Emmanouil Tzorakoleftherakis
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 Kommentar
Benjamin Pommer
Benjamin Pommer am 2 Mär. 2023
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by