I want to solve this problem using cvx, but something wrong. can you help me?

Recommendation is provided at Index exceeds array bounds. Error in cvxprob/eliminate when solving SDP problem - #2 by Mark_L_Stone