**Hello, Is equal this code and this problem?**

**Thanks**

problem:

code:

`cvx_begin variable a(N,K) nonnegative expression R(K,1); expression r; expression eta; maximize eta subject to for i = 1 : K r = 0; for n = 1 : N r = r + a(n,i) * log2(1+(gama0/(H^2+sum_square_abs(Q(n,:)-X(i,:))))); end R(i) = r / N; end eta <= min(R) ; sum(a,2) <= ones(N,1); a <= ones(N,K); cvx_end`