%% Generate LTE DL RMC R.12 With 16QAM Modulation
% Generate a time domain waveform, and a 3D array of the resource elements for RMC R.12 as specified in TS 36.101. Modify the standard R.12 RMC to use 16QAM modulation scheme instead of the default QPSK.
% Create an RMC setting structure specifying R.12 for RC and 16QAM for Modulation.

rmc.RC = 'R.12';
rmc.PDSCH.Modulation = '16QAM';

%
% Generate the tx waveform, RE grid and also output the RMC configuration structure.

txData = [1;0;0;1];
[txWaveform, txGrid, rmcCfgOut] = lteRMCDLTool(rmc, txData);

%
% Review the rmcCgfOut structure and PDSCH substructure.

rmcCfgOut
rmcCfgOut.PDSCH

% Copyright 2012 The MathWorks, Inc.