CVX Index exceeds matrix dimensions?

(Jie Zhang) #1

Hello, everyone. I have an optimization problem as follows

Then, I wrote the codes in MATLAB, as follows

Why matlab always shows the error like this

I don’t understand the reason, because I have checked that there is not problem with matrix dimension.
So who can give me advice? thanks very much.

(Michael C. Grant) #2

2 posts were merged into an existing topic: CVX_SDP Index exceeds matrix dimensions problem

(Michael C. Grant) #3