I am trying to understand how to calculate the power of a received signal under Raleigh fading.
What I gather is that the Rayleigh fading is a complex Gaussian random variable and that the multipath components are summed.
I also understand that the fading is applied at the symbol level.
Would it be possible to calculate the received power of a signal without having to deal with the number of symbols transmitted in that signal?
So, I have made a mini working example in MATLAB.
R = 500; % Cell radius in meters
eta=4; % path loss exponent
P_BS = 251.189; % BS transmission power in mWatts
D_BS_to_UE = 450; % Distance between UEand BS in meters
N_multipath = 3; % Number of multipaths
h = (randn(1,N_multipath))+1i*(randn(1,N_multipath)); % Rayleigh Fading
P_received = sum(abs(h./sqrt(2)).^2) * P_BS * D_BS_to_UE.^(-eta)
I guess what I am trying to understand are the following:
Whether the
sum(abs(h./sqrt(2)).^2)is correct as it concerns the signal in its entirely and not per symbol.What is the value of
N_multipaththat can be considered practical? Is there a way to calculate that or is it arbitrarily chosen as I have done?I have also seen a discussion on taps. What I gather is that it entirely depends on frequency-selective or flat fading. If flat then one tap, if frequency-selective then more than one tap. How do I add the taps if I choose frequency-selective?