how to pass your signal through rayleigh channel?

4 views (last 30 days)
here is my code: 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, ... %Rayleigh channel 'PathDelays',pathDelays,'AveragePathGains',avgPathGains, ... 'MaximumDopplerShift',fD,'FadingTechnique','Sum of sinusoids');
faded_signal=step(rchan,transmitted_signal.'); %Tx signal passing through channel

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!