How can I slove this problem? Disciplined convex programming error: Cannot perform the operation: {real affine} ./ {real affine}

%% my problem

load(‘goodh.mat’,‘H1’,‘H2’);
noise=-170+10.*log10(180.*1e3);
sigma =10.^((noise)/10);
sinr_r=(abs(H1))^2/sigma;
sinr_t=(abs(H2))^2/sigma;

r1=[0,0,0,0,0,0,0,0];
ps=10.^(30./10-3);
for i=1:8
%%
cvx_begin
variable a1
variable a2
variable b1
variable b2
rate_r=-rel_entr(a1,a1+b1.*sinr_r)/log(2);
rate_t=-rel_entr(a2,a2+b2.*sinr_t)/log(2);
rate=rate_r+rate_t;
maximize(rate)
subject to
ps<=b1./a1+b2./a2;
a1+a2==0.001;
cvx_end
r1(1,i)=rate;
end

%%my wrong
错误使用 .* (line 173)
Disciplined convex programming error:
Cannot perform the operation: {real affine} ./ {real
affine}

出错 ./ (line 19)
z = times( x, y, ‘./’ );

出错 testp (line 34)
ps<=b1./a1+b2./a2;

That doesn’t look very convex to me.

Please carefully read the link you were previously provided.

ok ,thank you i will check it next.