[seq,cinit] = ltePBCHPRBS(enb,n)
returns a vector with the first n outputs of the Physical
Broadcast Channel (PBCH) scrambling sequence when initialized with the structure
enb. It also returns an initialization value
cinit for the pseudorandom binary sequence (PRBS)
generator.
Compare the PBCH scrambling sequence generated using both generic and PBCH-specific pseudorandom binary sequence generators.
Create a cell-wide configuration structure initialized to RMC R.0. Generate the first 25 bits of the pseudorandom binary sequence for physical layer cell identity, NCellID using ltePRBS and ltePBCHPRBS.
Physical layer cell identity, specified as a scalar integer.
Data Types: double
Data Types: struct
n — Number of elements in returned sequence numeric scalar
Number of outputs, specified as a numeric scalar.
Data Types: double
pn — Range of elements in returned subsequence row vector
Range of elements in returned subsequence, subseq, specified as a
row vector of [p n]. The subsequence returns n
values of the PRBS generator, starting at position p
(0-based).
PBCH pseudorandom scrambling sequence, specified as a logical column vector or a numeric
column vector. seq contains the first
n outputs of the physical broadcast channel (PBCH)
scrambling sequence. If you set mapping to
'signed', the output data type is
double. Otherwise, the output data type is
logical.
PBCH pseudorandom scrambling subsequence, specified as a logical column
vector or a numeric column vector. subseq contains the
values of the PRBS generator specified by pn. If you
set mapping to 'signed', the output
data type is double. Otherwise, the output data type is
logical.
Data Types: logical | double
cinit — Initialization value for PRBS generator numeric scalar
Initialization value for PRBS generator, returned as a numeric
scalar.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.