%% Deprecode PHICH Symbols
% Generate the PHICH symbols for multiple antennas using RMC R.11.
% Initialize cell-wide settings for RMC R.11.

enb = lteRMCDL('R.11');
phichInfo = ltePHICHInfo(enb);
hiset = [1,1,1;1,2,0];
phichSym = ltePHICH(enb,hiset);

%
% Create an ideal, or identity, channel estimate.

hest = permute(repmat(eye(enb.CellRefP),[1,1,phichInfo.NRE]),[3,1,2]);

%
% Deprecode the received symbols, using the channel estimates.

ng = phichInfo.NGroups;
out = ltePHICHTransmitDiversityDecode(phichSym,enb.CyclicPrefix,ng,hest)

% Copyright 2012 The MathWorks, Inc.