Line 227 gives disciplined convex programming error. I want to add an additional constraint related to Z matrix and trying to define the Z matrix using these lines:

A_mat = xE*xE’;
Z = B*A_mat*C;

Z = Z^h;

Can someone please explain what is the correct way to do this?