I am tring to solve the following problem here.

where

There is an error like that:

Error using >= (line 22)

SDP constraints must be affine.

Error in ComputeMeanMatrix_Norm2 (line 17)

ti*eye(N)>=real((R-ReferMatrixs{1,i}))

what’s wrong? Can anybody help?

cvx_begin sdp

variable R(N,N) hermitian

for i=1:num_Matrix

temp=(norm(R-ReferMatrixs{1,i},2));

t=t+(temp);

end

t=t./num_Matrix;

minimize(t)

subject to

for i=1:num_Matrix

ti=(norm(R-ReferMatrixs{1,i},2));

ti*eye(N)>=real((R-ReferMatrixs{1,i}));

ti>=0;

end

cvx_end