%% Generate PUCCH Format 3 Symbols for Two Antennas
% Generate the physical uplink control channel (PUCCH) format 3 symbols for two transmit antenna paths and display the information structure.
% Initialize parameters for a UE-specific configuration structure and a channel configuration structure. Generate PUCCH1 symbols and information outputs.

ue.NCellID = 1;
ue.RNTI = 1;
ue.NSubframe = 0;
ue.CyclicPrefixUL = 'Normal';
ue.Shortened = 0;

chs.ResourceIdx = [0 3];

[pucch3Sym,info] = ltePUCCH3(ue,chs,[]);

%
% Because there are two antennas, the symbols are output as a two-column vector, and the info output structure contains two elements.

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

%
% View the contents of the second info structure element.

info(2)

% Copyright 2012 The MathWorks, Inc.