How to generate Rayleigh fading values in matlab???

3 ビュー (過去 30 日間)
Panda Girl
Panda Girl 2018 年 11 月 27 日
  • tag0 = 0;
  • sco = [1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0];
  • out0 = xor(tag0,sco);
  • tag1 = 1;
  • sc1 = [1 1 0 0 0 0 1 1 0 0 1 1 1 1 0 0];
  • out1 = xor(tag1,sc1);
  • tag2 = 1;
  • sc2 = [1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 0];
  • out2 = xor(tag2,sc2);
  • I want to generate rayleigh fading values after this point how do i generate that??
  • Also, I was reading article online which had the syntax mentioned below:
  • rayChan = comm.RayleighChannel('SampleRate', 10000, 'MaximumDopplerShift', 100)
  • sig = j*ones(2000,1);
  • rayChan
  • rayChan =
  • comm.RayleighChannel with properties:
  • SampleRate: 10000
  • PathDelays: 0
  • AveragePathGains: 0
  • NormalizePathGains: true
  • MaximumDopplerShift: 100
  • DopplerSpectrum: [1×1 struct]
I am not understanding the significance of this code in this siutation. I know further if i plot this it will be me power level signal versus sample number but, I am not sure if this is what I am looking for.
Kindly help me in this situation

回答 (0 件)

カテゴリ

Help Center および File ExchangePropagation and Channel Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by