can anybody help me in rayleigh channel object.i dont kmow how to pass my signal through rayleigh channel?
1 view (last 30 days)
Show older comments
fD=12; %Doppler frequency in Hz
ts= 5.0000e-04; %sampling time in seconds (1/2000)
fs=2000; %sampling frequency
pathDelays=[0 0.1 1 5 10 15 20].*1e-6; % delay for the three paths is seconds
avgPathGains=[0, -2, -3, -10, -15, -18, -20]; % average path gains in each of the three paths in dB
rchan = comm.RayleighChannel('SampleRate',fs, ...
'PathDelays',pathDelays,'AveragePathGains',avgPathGains, ...
'MaximumDopplerShift',fD,'FadingTechnique','Sum of sinusoids'); %Rayleigh channel
faded_signal=filter(rchan,modulated_signal); %Tx signal passing through channel
0 Comments
Answers (0)
See Also
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!