%% Generate PUCCH Format 1 Indices for Three Antennas
% Generate the physical uplink control channel (PUCCH) format 1 indices for three transmit antenna paths, and display the information structure output.
% Initialize UE-specific and channel configuration structures. Generate PUCCH 1 indices and information outputs.

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

chs.ResourceIdx = [0 129 2];
chs.ResourceSize = 0;
chs.DeltaShift = 1;
chs.CyclicShifts = 0;

[ind,info] = ltePUCCH1Indices(ue,chs);

%
% Because there are three antennas, the indices are output as a three-column vector, and the info output structure contains three elements. View ind and the size of info to confirm this.

ind(1:5,:)
size(info)

%
% View the contents of one of the info structure elements.

info(3)

% Copyright 2012 The MathWorks, Inc.