YALMIP

372 views
Skip to first unread message

SivaBU

unread,
Jan 31, 2014, 6:36:28 AM1/31/14
to yal...@googlegroups.com
how can we define the appropriate dimension matrices in yalmip? 

Johan Löfberg

unread,
Jan 31, 2014, 7:00:24 AM1/31/14
to yal...@googlegroups.com

SivaBU

unread,
Feb 5, 2014, 6:41:19 AM2/5/14
to yal...@googlegroups.com
For solving complex valued LMIs, i have one appropriate dimension matrix because of introducing zero equation. If i define that as
sdpvar(n,n,'full','complex') i cant get the feasibility. how to define this type of matrices? can i define this like sdpvar(n,n,'hermitian','complex');         

Johan Löfberg

unread,
Feb 5, 2014, 6:51:27 AM2/5/14
to yal...@googlegroups.com
I have no idea what you are trying to say, but to define a complex Hermitian matrix, you use sdpvar(n,n,'hermitian','complex'). If you want some elements of that matrix to be zero, you either replace the elements with zero, or add equality constraints

SivaBU

unread,
Feb 6, 2014, 1:41:39 AM2/6/14
to yal...@googlegroups.com
Thank you for your reply. For solving complex valued LMIs, I have all the matrices are Hermitian. But i have one matrix which need not necessary to be an Hermitian matrix.  It can be any complex valued matrix. i don't have any idea to define that matrix. This is my problem, can you understand ?  

Johan Löfberg

unread,
Feb 6, 2014, 1:45:07 AM2/6/14
to yal...@googlegroups.com
From help
help sdpvar
...
   
The other types are obtained as above
      X
= sdpvar(n,n,'symmetric','complex') Complex symmetric nxn matrix (X=X.')
      X = sdpvar(n,n,'
full','complex')      Complex full nxn matrix
      ... and the same for Toeplitz, Hankel and skew-symmetric

i.e.,

X =sdpvar(n,m,'full','complex')

Explained here too
http://users.isy.liu.se/johanl/yalmip/pmwiki.php?n=Commands.Sdpvar

Reply all
Reply to author
Forward
0 new messages