I have some information on particular wireless channel between an Access Point(AP) and K users as described in the picture below: enter image description here

How i can create this channel in Matlab?


closed as off-topic by Marcus Müller, MBaz, Peter K. Feb 5 at 14:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions requesting working code written to a specification are off-topic as they are unlikely to benefit anyone else. Instead, describe the problem you're solving and where you're stuck." – Marcus Müller, MBaz, Peter K.
If this question can be reworded to fit the rules in the help center, please edit the question.

theta0 = 6.25*10^-4;
di = 10; %whatever it is
h = theta0.*.*di^(-3).*(1/sqrt(2)).*(randn(1,500) + 1i.*randn(1,500));
g = theta0.*.*di^(-3).*(1/sqrt(2)).*(randn(1,500) + 1i.*randn(1,500));
  • $\begingroup$ The paper said that they averaging over 500 randomized channel realizations. what is that supposed to mean? Is it equivalent to produce 500 sample? what is the averaging role? $\endgroup$ – Morteza Feb 1 at 19:10
  • $\begingroup$ They compute something using these channels, using one realization a time, and then average over all 500 realizations. For example, suppose they want to compute average BER. Then you need a loop of 500 and find the BER for each realization, sum them up, and then divide the total sum by 500. The average role here is take into account the variations of the channels. In fading channels, the instantaneous performance fluctuates considerably with the channels. The average gives better insights. $\endgroup$ – BlackMath Feb 1 at 19:56
  • $\begingroup$ If I answered your question you can choose it as the answer. $\endgroup$ – BlackMath Feb 1 at 21:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.