%% Generate PUSCH DM-RS
% Generate the PUSCH Demodulation Reference Signal (DM-RS) values for UE-specific settings.
% Initialize UE specific (ue) and channel (chs) configuration structures. Generate PUSCH DM-RS values.

ue.NCellID = 1;
ue.NSubframe = 0;
ue.CyclicPrefixUL = 'Normal';
ue.Hopping = 'Off';
ue.SeqGroup = 0;
ue.CyclicShift = 0;
ue.NTxAnts = 1;

chs.PRBSet = (0:5).';
chs.NLayers = 1;
chs.OrthCover = 'Off';
chs.DynCyclicShift = 0;

puschSeq = ltePUSCHDRS(ue,chs);
puschSeq(1:10)

% Copyright 2012 The MathWorks, Inc.