how to pass your signal through rayleigh channel?
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Propagation and Channel Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!