Generate PBCH scrambling sequence
[
returns the first seq
,cinit
] = nrPBCHPRBS(ncellid
,v
,n
)n
elements of the physical broadcast channel (PBCH)
scrambling sequence. The pseudorandom binary sequence (PRBS) generator is initialized with
the physical layer cell identity number ncellid
and scrambling sequence
phase v
. The function implements TS 38.211 Section 7.3.3.1 [1]. The function also returns
the initialization value cinit
for the PRBS generator.
[1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.