%% Generate PCFICH Symbols
% Modulate CFI=1 onto two antenna ports (transmit diversity). The generated PCFICH symbols are stored in a matrix.
% Generate PCFICH symbols, using a control format indicator (CFI) value of one and using two antenna ports for transmit diversity.

cfiCodeword = lteCFI(struct('CFI',1));
enb = struct('CellRefP',2,'NCellID',0,'NSubframe',0);

pcfichSymbols = ltePCFICH(enb,cfiCodeword);
sizePCFICHSymbols = size(pcfichSymbols)

% Since two antenna ports were configured, there are two columns in the output matrix.
% Copyright 2012 The MathWorks, Inc.