Dear Johan,
Sorry, in L we use parts of G. That becomes
G =sdpvar(n+1,n+1);
L = [R.*G(1:n,1:n) ,1+u;(1+u)',t]; % G_plus was a mistake.
I need to understand how YALMIP/Solver deals with this specific problem. I know that equalities are defined using ==, but if YALMIP doesn't use equality between elements of L and G, how else it can be presented to the solver?
If I show L>=0 and G>=0 as C.*X>=0 , D.*X>=0 ,repectively, Doesn't YALMIP/Solver have to define a variable for each of them? in order to impose these semidefinite constraints.
I am asking this question for knowing what to do with my original question, i.e., How to define two related semidefinite constraints like L and G, efficiently to YALMIP?
Thank you very much.