how to include rayleigh fading or get the rayleigh distribution values???

2 views (last 30 days)
  • data0 = 0;
  • sco = [1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0];
  • out0 = xor(data0,sco);
  • data1 = 1;
  • sc1 = [1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0];
  • out1 = xor(data1,sc1);
  • data2 = 1;
  • sc2 = [1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0];
  • out2 = xor(data2,sc2);
I have a simple code which is performing the spread spectrum operation. I need to include rayleigh distribution in this program. I am confused how to do that on website it mentions using raychan which will display all the properties but i am not sure how to proceed with this as the next part of this program follows the approach of introducing noise and carrying out the despreading process.

Answers (0)

Categories

Find more on Propagation and Channel Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!