Hi everybody,

I would like to plot the CDF of the channel hardening in figure 6 at the kth user in cell-free massive MIMO Which is described in equation 11 in [1].

To plot it I followed these steps :

1- To deploy the access points within a square(L=1000m) and I fixed a guard distance d_guard=9m

2- To develop beta(eq3) using three-slope path-loss described in eq 2+shadowing

3- To develop the correlation matrix via equation 7.33 [2]

4- To develop the channel vector gmk where h ~ CN(0,1)

h=(1/sqrt(2))*(randn(M,numberOfRealizations)+1i*randn(M,numberOfRealizations));

5-the channel gain between access point m and kth user g_mk=sqrt(R)*h

6-Inspired from equation (2.17) from [2] : I developed the channel hardening using 2 alternatives :

-1alternative :

var(sum(abs(g).^2,1)/trace(R),0,2)where var is the matlab function

to calculate the variance

I got positive and negative values of channel hardening coefs

-2nd alternative :

variance(s,it1)= real(trace(R*R))/(trace(R)).^2;

I got only positive values of channel hardening coefs

You can find the plots in the attached file.

Could you please help me to deal with these details :

1/Shall we omit the shadowing when dmk

More Wafa Elhadj Hmida's questions See All
Similar questions and discussions