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

8 ビュー (過去 30 日間)
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?

採用された回答

Benjamin Thompson
Benjamin Thompson 2022 年 3 月 2 日
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 件のコメント
Avani Shah
Avani Shah 2022 年 3 月 7 日
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?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by