%% Create PUSCH Complex Symbols
% Generate PUSCH symbols for TS36.104 Uplink FRC A3-3 with 3MHz bandwidth.
% Initialize UE specific (ue) and channel (pusch) configuration structures, and fixed reference channel (frc).

ue.NCellID = 1;
ue.NSubframe = 0;
ue.RNTI = 1;

pusch.Modulation = 'QPSK';
pusch.PRBSet = [0:14].';
pusch.RV = 0;

frc = lteRMCUL('A3-3');

%
% Generate transport block (trBlk), UL-SCH codewords (cw), and PUSCH symbols (puschSym).

trBlk  = randi([0,1],frc.PUSCH.TrBlkSizes(1),1);
cw = lteULSCH(ue,pusch,trBlk );
puschSym = ltePUSCH(ue,pusch,cw);

% Copyright 2012 The MathWorks, Inc.