This is my code.

T_tra=1;D=[0.5,0.4,0.8,0.3,0.2];Y=[4,5,5.5,9,10];h=0.001*Y.^(-2);
P_BS=30;NP=-50;gamma=P_BS*h/NP;

Delta=0.01;

cvx_begin gp

variable t_D(1,5) nonnegative;variable t_U(1,5) nonnegative; variable miu(1,5);

expression r_U(1,5);

for i=1:5

r_U(1,i)=t_U(1,i)*log(1+(h(1,i)

*gamma(1,i)*(sum(t_D)-t_D(1,i)+miu(1,i)))/t_U(1,i))/log(2);

end

maximize(r_U)

subject to

for i=1:5

t_D(1,i)*log(1+gamma(1,i)-gamma(1,i)*miu(1,i)/t_D(1,i))/log(2)>=D(1,i);

sum(t_D)+sum(t_U)<=T_tra;

0<=miu(1,i)<=t_D(1,i);

end

cvx_end

but it has a error

how to solve this?