How to generate Rayleigh fading values in matlab???
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
- 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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Propagation and Channel Models finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!