How can I show this constraint? Uncategorized Apr 2, 2022 M 高恒 Apr 2, 2022 #1 As you see, the Wk is a N-order square matrix, how can I show it is in the “subject to” in my CVX algorithm? M Mark L. Stone Apr 2, 2022 #2 I’m not sure what you are asking. If W_i is n by n real positive semidefinite for i from 1 to N, you can declare variable W(n,n,N) semidefinite and then need not do anything else to constrain each W_i to be positive semidefinite.