I am wondering why CVX is reporting error in line 6 of the codes below which I have written to maximize the capacity of a femtocell user in an heterogeneous cellular network.

Shannon’s Capacity is C = B.*log(1+SINR).

The concern is in the expression for the SINR part. The equation for SINR is shown in the diagram. I will appreciate any assitance whatsoever.

Thanks

cvx_begin

variables pf(MD,FAP) pm(MD,FAP)

expression Cap_femto_obj

for u = 1:MD

for v = 1:FAP

Cap_femto_obj = Cap_femto_obj + B_RB.*((entr(1+(times( (pf.*Gd_fu), (sigma2 + pf.*G_co + pm.*G_cross), ‘./’ ))))./entr(2));

end

end

objective = Cap_femto_obj

maximize(objective)

subject to

0<=pf; pf<=(10^(23/10))/1000;

cvx_end