%% Generate EPDCCH DM-RS Indices
% Specify the cell-wide settings and channel transmission configuration in parameter structures enb and chs.

enb = struct('CyclicPrefix','Normal','DuplexMode','FDD');
enb.NDLRB = 6;
enb.NSubframe = 0;
chs.EPDCCHECCE = [0 7];
chs.EPDCCHType = 'Localized';
chs.EPDCCHPRBSet = 2:3;
chs.RNTI = 1;

%
% Create the EPDCCH DM-RS indices for an EPDCCH having eight ECCEs.

ind = lteEPDCCHDMRSIndices(enb,chs)

% Copyright 2012 The MathWorks, Inc.