Hi,I’m trying to solve a convex optimization problem in cvx. the following is my code:

cvx_begin sdp

variable Wk(Nm,Nm) complex symmetric

minimize(real(trace(Wk*Dk)))

subject to

real(trace(Wk))<=(Pth/Nm)

real(trace(Wk* CHMB_MU(kk,:)’* CHMB_MU(kk,:)- gama_min* temp))>=gama_min* sigma2

Wk>=0

cvx_end

cvx_begin

variable Ek(M-1,Nm) complex

minimize(real(trace(Wk* Hk_tilt’* Hk_tilt+ Wk* Hk_tilt’* Ek+ Wk* Ek’* Hk_tilt+ Wk* Ek’* Ek))+lambda* Ltwoone_norm(Ek))

cvx_end

but i get the fallowing errors:

Error using * (line 126)

Disciplined convex programming error:

Only scalar quadratic forms can be specified in CVX.

where (Wk,Hk_tilt,temp,Dk) are complex matrix and (pth,gama_min,sigma2,lambda) are non-negative constant and CHMB_MU is complex vector.

please help me.

thanks