Specify LMI terms when lhs and rhs have different block partitions

4 views (last 30 days)
Hello, I'm trying to specify a LMI term via lmiterm function. The left hand side (lhs) and the right hand side (rhs) in my question have different block structure. For example, consider
where , are constant matrices, , and are variables.
I set the lhs by the following code:
M=rand(5,3);E=rand(2,3); % take random M and E for example
setlmis([]);
X1=lmivar(1,[2 1]);X2=lmivar(1,[3 1]);
r=lmivar(1,[1 1]);
lmiterm([1 1 1 X1],1,1); % first block
lmiterm([1 2 2 X2],1,1); % second block
lmiterm([1 0 0 0],M); % outer factor M
How can I specify the rhs?
I tried
lmiterm([-1 1 1 r],E',E);
It returned a error: rhs of LMI #1, block (1,1): term dimensions incompatible with other terms in row #1 or column #1.
I also tried
lmiterm([-1 0 0 r],E);
The error was: LMI #1: the outer factors have incompatible dimensions.
I appreciate it if anyone can hlep me out. Thanks in advance!

Answers (0)

Categories

Find more on Linear Matrix Inequalities in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!