%% Generate PUCCH Format 3 DM-RS Indices for Four Antennas
% Generate the PUCCH format 3 DM-RS indices for a 3 MHz bandwidth, and four transmit antenna paths. Display the output information structure.
% Initialize UE-specific and channel configuration structures. Generate PUCCH 3 DM-RS indices and information outputs.

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

chs.ResourceIdx = [0 37 4 111];

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

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

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

%
% View one of the info structure elements.

info(4)

% Copyright 2012 The MathWorks, Inc.