If i have distances of users in vector d=[50 100 150 200 250 300 ] ;
h=gain.path loss
h=g . pl^-1(d)
where's g is complex random variable with zero mean and variance (0.5) g~CN(0,0.5) and it has CDF and PDF
so how i can simulate the the Rayleigh fading channel h for each user and eventually i am confused am i getting the gain results as scale or matrix ? for each user .
Thanks in advance