%% Generate Complex Modulated EPDCCH Symbols
% Specify the cell-wide settings and channel transmission configuration in parameter structures enb and chs.

enb.NSubframe = 4;
chs.EPDCCHNID = 7;

%
% Generate EPDCCH symbols by encoding the input cw into QPSK symbols.

cw = randi([0 1],100,1);
sym = lteEPDCCH(enb,chs,cw);

%
% Display the size and the first 10 indices of sym. Because these are QPSK symbols, sym contains half as many symbols as the number of bits that can be transmitted on the EPDCCH.

size(sym) 
sym(1:10)

% Copyright 2012 The MathWorks, Inc.