The codes are as follows:

Matlab reminds a problem that:Disciplined convex programming error: Illegal operation: {concave} .^ {2}.Here, gamma is a M*K matrix, how can i express it that CVX can recognize?
The codes are as follows:

Matlab reminds a problem that:Disciplined convex programming error: Illegal operation: {concave} .^ {2}.Here, gamma is a M*K matrix, how can i express it that CVX can recognize?