Clear Filters
Clear Filters

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

9 views (last 30 days)
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?

Accepted Answer

Benjamin Thompson
Benjamin Thompson on 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 Comment
Avani Shah
Avani Shah on 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?

Sign in to comment.

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!