%% Generate Signed PCFICH Pseudorandom Scrambling Sequence
% Generate a signed pseudorandom scrambling sequence for the PCFICH. Each resource element (RE) in the PCFICH is QPSK-modulated, resulting in two bits-per-symbol mapping on each resource element.
% Create cell-wide configuration structure, initialized to RMC R.14.

enb = lteRMCDL('R.14');
info = ltePCFICHInfo
pcfichPrbsSeq = ltePCFICHPRBS(enb,info.NRE*2,'signed');
size(pcfichPrbsSeq)
pcfichPrbsSeq(1:10)

% The scrambling sequence contains a vector of 32 signed ones.
% Copyright 2012 The MathWorks, Inc.