cvx_begin quiet

variable v_l(M,1) complex

for k=1:K

for i=i:K

h_ki=squeeze(h_rki(k,i,:))’;%默认是行

Q_A=Q_A+p(i)*square_pos(norm(h_ki*v_l+gdk(i),2));

end

y=y+T*B*log(Q_A)/log(2);

end

error: y=y+T*B*log(Q_A)/log(2);

isciplined convex programming error:

Illegal operation: log( {convex} ).

I think Q_A is convex,why is error ?