%% Generate PUCCH Format 1 Indices
% Generate PUCCH format 1 RE indices for a 1.4 MHz bandwidth, PUCCH resource index 0. Use default values for all other parameters.
% Initialize UE-specific and channel configuration structures (ue and chs). Generate PUCCH format 1 indices (ind).

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

chs.ResourceIdx = 0;
chs.DeltaShift = 1;
chs.CyclicShifts = 0;
chs.ResourceSize = 0;
chs.Shortened = 0;

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

% Copyright 2012 The MathWorks, Inc.