%% Override Default Downlink R.13 RMC Configuration
% Create a new customized parameter set by overriding selected values of an existing preset RMC. To define a single codeword full-band 10MHz PDSCH using 4 CRS port spatial multiplexing and 64QAM modulation, begin by initializing an RMC configuration structure to R.13. Looking at TS 36.101, Table A.3.1.1-1, see the RMC R.13 matches desired configuration except the default QPSK modulation must be adjusted.
% Create an R.13 RMC configured structure and display rmc.PDSCH.

rmcOverride.RC = 'R.13';
rmc = lteRMCDL(rmcOverride,1);
rmc.PDSCH

%
% Override the default modulation and execute the lteRMCDL function. Inspect rmc.PDSCH, PDSCH transport block sizes and physical channel capacities are updated to maintain the R=1/3 coding rate when the modulation is overridden.

rmcOverride.PDSCH.Modulation = '64QAM';
rmc = lteRMCDL(rmcOverride,1);
rmc.PDSCH

% Note the RV sequence is also updated to reflect appropriate values for 64QAM modulation.
% Copyright 2012 The MathWorks, Inc.