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

ue.NCellID = 1;
ue.NSubframe = 0;
ue.CyclicPrefixUL = 'Normal';
ue.Hopping = 'Off';

chs.ResourceIdx = [0 3];
chs.DeltaShift = 1;
chs.CyclicShifts = 0;
chs.Shortened = 0;

[pucch1Sym,info] = ltePUCCH1(ue,chs,[]);

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

pucch1Sym(1:10,:)
size(info)

%
% View the contents of the info structure elements.

info(2)

% Copyright 2012 The MathWorks, Inc.