%% Generate DL-SCH Codewords
% Generate the DL-SCH codeword as defined by TS36.101 RMC R.7 for FDD duplexing mode
% Initialize the rmc structure and generate transport block data. Generate the DL-SCH codewords and view the first ten.

rmc = lteRMCDL('R.7');
data = randi([0,1],rmc.PDSCH.TrBlkSizes(1),1);

%

codeWord = lteDLSCH(rmc,rmc.PDSCH,rmc.PDSCH.CodedTrBlkSizes(1),data);
codeWord(1:10)

% Copyright 2012 The MathWorks, Inc.