%% Generate Downlink E-TM 2a Waveform
% Generate a time domain signal, txWaveform, and a 2-dimensional array of the Resource Elements, txGrid, for Test Model TS 36.141 E-TM 2a with 10MHz bandwidth. This is a 256QAM E-TM.
% Specify test model number and bandwidth. Generate txWaveform. Plot the txGrid output.

[txWaveform,txGrid,tm] = lteTestModelTool('2a','10MHz');
plot(txGrid,'.')

% The plot of all the complex resource element symbols in the frame is dominated by the 256QAM PDSCH constellation.
% Copyright 2012 The MathWorks, Inc.