PHICH pseudorandom scrambling sequence
seq = ltePHICHPRBS(enb,n)
seq = ltePHICHPRBS(enb,n,mapping)
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 size(phichPrbsSeq)
numRE = uint64 12 ans = 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 scalar integer of 1 or more.
mapping— Output sequence formatting
Output sequence formatting, specified as
the format of the returned sequence,
false to 0.
false to 1.
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.