zeros(n,m) have to be written as 0 regardless of their dimensions and their number must match the matrix elements.
Bad block partitioning error using lmiedit
1 view (last 30 days)
Show older comments
Hello,
I am trying to generate, using lmiedit, the right commands needed to describe the following linear matrix inequality :
[P1*A16+A16'*P1-R16*Cg2-Cg2'*R16'+eye(6), -Cg2'*K16', zeros(6,16), P1*AA, P1*BB, R16*CC, zeros(6,12);
-K16*Cg2, -alpha16'-alpha16+eye(4), zeros(4,4), alpha16, P2, zeros(4,176), K16*CC;
zeros(4,10), -gamma1+lambda1*ECTEC+lambda1C*ECTEC+lambda2C*ECTEC, zeros(4,196);
zeros(4,6), alpha16, zeros(4,4), -gamma2, zeros(4,192);
zeros(4,6), P2, zeros(4,8), -gamma3, zeros(4,188);
zeros(4,22), -gamma4+lambdaB*EBTEB, zeros(4,184);
AA'*P1', zeros(96,20), -lambda1*eye(96), zeros(96,88);
BB'*P1', zeros(64,116), -lambdaB*eye(64), zeros(64,24);
CC'*R16', zeros(12,180), -lambda1C*eye(12), zeros(12,12);
zeros(12,6), CC'*K16', zeros(12,188), -lambda2C*eye(12)]<0
Where A16 is a 16x16 matrix, AA is a 6x96 matrix, BB is 6x64 matrix, CC is a 4x12 matrix, and Cg2 is a 4x6 matrix.
Here are the descriptions of the lmivars :
setlmis([]);
P1=lmivar(1,[6 1]);
K16=lmivar(2,[4 4]);
R16=lmivar(2,[6 4]);
alpha16=lmivar(2,[4 4]);
P2=lmivar(1,[4 1]);
gamma1=lmivar(2,[4 4]);
gamma2=lmivar(2,[4 4]);
gamma3=lmivar(2,[4 4]);
gamma4=lmivar(2,[4 4]);
beta=lmivar(1,[1 1]);
lambda1=lmivar(1,[1 1]);
lambda1C=lmivar(1,[1 1]);
lambda2C=lmivar(1,[1 1]);
lambdaB=lmivar(1,[1 1]);
Unfortunately, when I enter the LMI as written above, I get the following error message when I try to view the MATLAB commands for the system :
Bad block partitioning in the lhs of LMI #1
I would be very glad if someone familiar with Matlab's LMIs solver could provide some help on how to obtain the commands to describe the system mentioned above using lmiedit. Thank you.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on LMI Solvers in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!