How to create a SYSTEM matrix to use it in psys?

3 ビュー (過去 30 日間)
Bladi Toaza
Bladi Toaza 2020 年 12 月 19 日
コメント済み: Bladi Toaza 2021 年 1 月 25 日
I am trying to use psys to specify a parameter-dependent linear system.
The syntax is: affs = psys(pv,[s0,s1,s2,s3,s4]), where S0, S1, . . ., Sn should be given SYSTEM matrices.
I have tried using S0 = [A0 B0; C0 D0], etc. that are the matrices of a state-space system but I am getting this error: S0,S1,...,Sk must be SYSTEM matrices.
How can I create a SYSTEM matrix?
  3 件のコメント
Sarvani Panguluri
Sarvani Panguluri 2020 年 12 月 24 日
Hi,
Could you please provide the code you have tried so that I can replicate the issue.
Bladi Toaza
Bladi Toaza 2021 年 1 月 25 日
Thank you so much, I could manage to solve this issue by reading a further LMI toolbox documentation
To convert to a MATRIX system, the function ltisys should be issued.
For a 2 parameters dependent (p) state-space system where . It is possible to create a polytopic system using psys by listing MATRIX systems at each coordinate p, (s0,s1,s2,s3,s4).
s0 = ltisys(A0,B0,C0,D0)
s1 = ltsys(A1,B1,C1,D1)
s2 = ltisys(A2,B2,C2,D2)
.
Sn
SYS = psys([S0,S1,S2,S4.....Sn])

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

採用された回答

hossein hosseinivaez
hossein hosseinivaez 2020 年 12 月 31 日
  1 件のコメント
Bladi Toaza
Bladi Toaza 2021 年 1 月 25 日
Thank you so much, it was very helpful to understand LMI toolbox and polytpoic systems. I could manage to solve the issue.
To convert to a MATRIX system, the function ltisys should be issued.
For a 2 parameters dependent (p) state-space system where . It is possible to create a polytopic system using psys by listing MATRIX systems at each coordinate p, (s0,s1,s2,s3,s4).
s0 = ltisys(A0,B0,C0,D0)
s1 = ltsys(A1,B1,C1,D1)
s2 = ltisys(A2,B2,C2,D2)
.
Sn
SYS = psys([S0,S1,S2,S4.....Sn])

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Matrix Inequalities についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by