%% Generate PUCCH Format 2 DM-RS Indices
% Generate PUCCH format 2 DM-RS RE indices for a 1.4 MHz bandwidth and PUCCH resource index 0. Use default values for all other parameters.
% Initialize UE-specific and channel configuration structures. Generate PUCCH format 2 DM-RS indices.

ue.NULRB = 6;
ue.CyclicPrefixUL = 'Normal';

chs.ResourceIdx = 0;

ind = ltePUCCH2DRSIndices(ue,chs);
ind(1:4)

% Copyright 2012 The MathWorks, Inc.