%% Generate UL-SCH Codewords
% Create coded information bits for a 3 MHz, Uplink A3-3 FRC.
% Create an UL RMC configuration structure. Initialize the optional fields for a ue-specific setting structure. Default settings are used if you don't initial optional fields. Create a transport block bit stream, trBlk.

rmc = lteRMCUL('A3-3');
ue.CyclicPrefixUL = 'Normal';
ue.Shortened = 0;
trBlk = randi([0,1],rmc.PUSCH.TrBlkSizes(1),1);

%
% Generate UL-SCH codewords for the A3-3 FRC.

cw = lteULSCH(ue,rmc.PUSCH,trBlk);

% Copyright 2012 The MathWorks, Inc.