[seq,cinit] = ltePRBS(cinit,n)
returns the first n elements of the pseudorandom binary
sequence (PRBS) generator when initialized with cinit. For
uniformity with the channel specific PRBS functions, ltePRBS
also returns the initialization value cinit.
Generate a pseudorandom binary sequence based on physical layer cell identity for RMC R.0.
Create cell-wide configuration structure for RMC R.0. Use the physical layer cell identity, NCellID, as an initial value to generate the pseudorandom binary sequence.
Initialization value, specified as a 32-bit integer.
Data Types: int32 | uint32 | double
n — Number of elements in returned sequence numeric scalar
Number of elements in returned sequence, seq,
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).
Pseudorandom binary sequence, returned as a logical column vector, or a numeric column vector.
seq contains the first n
values of the PRBS generator. If mapping is set to
'signed', seq is a vector of
data type double. Otherwise, it is a vector of data type logical.
Pseudorandom binary subsequence, returned 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.