Experiment: 6 Object
Experiment: 6 Object
Experiment: 6 Object
EXPERIMENT : 6
OBJECT:
Simulation of transmission through a Rayleigh fading channel.
INTRODUCTION:
Rayleigh and Rician fading channels are useful models of real-world phenomena in wireless
communication. These phenomena include multipath scattering effects, time dispersion, and
Doppler shifts that arise from relative motion between the transmitter and receiver.
This demo shows how to use the following in order to model a fading channel:
1. Rayleigh and Rician multipath fading channel objects
2. Channel visualization tool
LAB WORK:
Initialization
The following variables control both the Rayleigh and Rician channel objects. By default, the
channel is modeled as four fading paths, each representing a cluster of multipath components
received at around the same delay.
sampleTime = 1/500000; % Sample time (s)
maxDopplerShift = 200; % Maximum Doppler shift of diffuse components (Hz)
delayVector = 1.0e-004 * [0 0.0400 0.0800 0.1200]; % Discrete delays of
% four-path channel (s)
gainVector = [0 -3 -6 -9]; % Average path gains (dB)
specDopplerShift = 100; % Doppler shift of specular component (Hz)
KFactor = 10; % Linear ratio of specular power to diffuse power
% Apply channel object on the modulated data using the FILTER function
filter(rayChanObj,modSignal);
filter(ricChanObj, modSignal);
Visualization
% Note: In this plot, the gains do not equal the average path gains because
% the Doppler effect causes the gains to fluctuate around their average
% values over time
OUTPUT
bitsPerFrame = 1000;
numFrames = 100;
OUTPUT