%% Perform OFDM Modulation
% Perform OFDM modulation of one subframe of random uniformly-distributed noise using a 10 MHz two-antenna configuration.

enb = struct('NDLRB',50,'CyclicPrefix','Normal','CellRefP',2);
dims = lteDLResourceGridSize(enb);
regrid = reshape(lteSymbolModulate(randi([0,1],prod(dims)*2,1), ...
    'QPSK'),dims);
waveform = lteOFDMModulate(enb,regrid);

% Copyright 2012 The MathWorks, Inc.