If i run the following code
code:
for v =1:size(All_VP,2)for u =1:size(All_UP,1)throughput1(u,v)=(Bmax.*log2(1+(((All_UP(u,v)).*(All_VP(u,v))/(noise+sum(All_VP(1:u-1,v)).*All_UP(u,v))))))endend
I am getting the size of the throughput1(u,v) as 22×40 double,which should be 20×40 double.
wheresize(All_VP,2) is 40size(All_UP,1) is 20size of (ALL_UP(u,v)) is 20x40 double,size of (All_VP(u,v)) is 20x40 double,size of (All_VP(1:u-1,v)) is 20x40 double.
Could anyone help me to overcome the size of the throughput1(u,v)
Best Answer