PHICH pseudorandom scrambling sequence
returns the first
cinit] = ltePHICHPRBS(
n outputs of the Physical Hybrid ARQ
Indicator Channel (PHICH) scrambling sequence when initialized according to
cell-wide settings structure,
enb. It also returns an
cinit for the pseudorandom binary
sequence (PRBS) generator.
Create a cell-wide configuration structure initialing for RMC R.0. Generate the pseudorandom scrambling sequence for the PHICH.
enb = lteRMCDL('R.0'); phichInfo = ltePHICHInfo(enb); phichPrbsSeq = ltePHICHPRBS(enb,phichInfo.NRE); numRE = phichInfo.NRE
numRE = uint64 12
ans = 1×2 12 1
Using RMC R.0 results in 12 BPSK modulated symbols, where one bit per symbol is mapped onto a single resource element (RE).
enb— Cell-wide settings
Cell-wide settings, specified as a scalar structure.
the following fields.
NCellID— Physical layer cell identity
Physical layer cell identity, specified as a nonnegative integer.
NSubframe— Subframe number
Subframe number, specified as a nonnegative integer.
n— Length of PHICH scrambling sequence
Length of PHICH scrambling sequence, specified as a positive integer.
pn— Range of PHICH scrambling subsequence
Range of PHICH scrambling subsequence,
specified as a row vector of
[p n]. The subsequence
n values of the PRBS generator, starting at
seq— PHICH pseudorandom scrambling sequence
PHICH pseudorandom scrambling sequence, returned as a logical
column vector or a numeric column vector. This argument contains the
n outputs of the PHICH scrambling sequence.
mapping is set to
seq is a vector of data type double.
Otherwise, it is a vector of data type logical.
subseq— PHICH pseudorandom scrambling subsequence
PHICH pseudorandom scrambling 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
'signed', the output
data type is
double. Otherwise, the output data type is
cinit— Initialization value for PRBS generator
Initialization value for PRBS generator, returned as a numeric scalar.