%% Generate NPDCCH RE Indices and Info Structure
% Generate the NPDCCH RE indices mapping and display related information.
% Create the eNodeB structure cell-wide settings for one antenna.

enb.NNCellID = 10;
enb.NBRefP = 1;

% Create the channel transmission configuration. Specify the value of narrowband control channel element (NCCE).

chs.NCCE = 0; % NPDCCH Format 0

% Generate the NPDCCH RE indices column vector. Display the first seven indices.

[ind,info] = lteNPDCCHIndices(enb,chs);
ind(1:7)

% Display the fields contained in the info structure.

info.G
info.Gd

% Copyright 2019 The MathWorks, Inc.