%% Generate Downlink Waveform Using Full E-TM Configuration Structure
% Generate a time domain signal, |txWaveform|, and a 2-dimensional array of 
% the Resource Elements, |txGrid|, for Test Model TS 36.141 E-TM 3.2 with 15MHz 
% bandwidth.
% 
% Specify test model number and bandwidth for |tmCfg| configuration structure 
% and create it. Generate |txWaveform|. View the waveform with a spectrum analyzer.

tmn = '3.2';
bw = '15MHz';
tmCfg = lteTestModel(tmn,bw);
%%
[txWaveform,txGrid,tm] = lteTestModelTool(tmCfg);
%%
saScope = dsp.SpectrumAnalyzer('SampleRate', tm.SamplingRate);
saScope(txWaveform)

%% 
% Copyright 2012 The MathWorks, Inc.