I need to implement state space equation AX+BU in which A & B are matrix with variable parameters. How to implement it in Simulink?

6 visualizzazioni (ultimi 30 giorni)
I need to implement following equation in which A, B, C, D and x are matrices with variable parameters (i.e. parameter value changes with time).
X = Ax+Bu
Y = Cx+Du
It would be really helpful if anybody can guide me how can I implement these equations in Simulink?

Risposta accettata

Benjamin Thompson
Benjamin Thompson il 2 Mar 2022
The Control System Toolbox has a Discrete Varying State Space block and a version for Continuous time. These accept as inputs values for the A, B, C, and D matrices.
  1 Commento
Avani Shah
Avani Shah il 7 Mar 2022
Thank You Benjamin for your response.
Is it possible to vary parameters' value of matrix A at run time? E.g. Matrix A contains cornering stiffness and vehicle velocity parameter. Can I vary their values with time using this block?

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by