%% Model High-Speed Train Propagation Channel
% Generate a frame and filter it with the high-speed train channel model.
% Create a reference channel configuration structure initialized to 'R.10'. Generate a waveform.

rmc = lteRMCDL('R.10');
[txWaveform,txGrid,info] = lteRMCDLTool(rmc,[1;0;1]);

%
% Initialize a propagation channel configuration structure for high-speed train profile. Pass the transmission waveform through the propagation channel.

chcfg.NRxAnts = 1;
chcfg.Ds = 100;
chcfg.Dmin = 500;
chcfg.Velocity = 350;
chcfg.DopplerFreq = 5;
chcfg.SamplingRate = info.SamplingRate;
chcfg.InitTime = 0;

rxWaveform = lteHSTChannel(chcfg,txWaveform);

% Copyright 2012 The MathWorks, Inc.