hello again. I have got another simple question in this CVX code question that i asked before. in the previous code, the gainofthisRRH is constant and 15. I have done some changes in the code and now this gainofthisRRH has become an array. something like [0.1,0.2,0.3,04.]. how should I change my CVX code to give this array in my objective function?
here is my current code:
cvx_begin;
variables bw(n) z(n);
minimize(sum((z-bw)./gainofthisRRH));
for i=1:n
{a(i)*log(2),bw(i),z(i)} == exponential(1);
end
sum(bw) == maxbwofthisrrh;
bw >= 0;
cvx_end;
I need this gainofthisRRH to be an array.
MinRateOfUsers=[0.1,1,10]
currentUsersMinRate=[0.1,1,10,0.1]
MaxBandwidthOfEachRRH=20;
gainofthisRRH=[0.1,0.2,0.3,04.];