PHICH pseudorandom scrambling sequence


  • seq = ltePHICHPRBS(enb,n)
  • seq = ltePHICHPRBS(enb,n,mapping)



seq = ltePHICHPRBS(enb,n) returns a column vector containing the first n outputs of the Physical Hybrid ARQ Indicator Channel (PHICH) scrambling sequence when initialized according to cell-wide settings structure, enb.

seq = ltePHICHPRBS(enb,n,mapping) allows control over the format of the returned sequence, seq, through the mapping string.


collapse all

Generate PHICH Pseudorandom Scrambling Sequence

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 =


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).

Input Arguments

collapse all

enb — Cell-wide settingsscalar structure

Cell-wide settings, specified as a scalar structure. enb contains the following fields.

NCellID — Physical layer cell identitynonnegative integer

Physical layer cell identity, specified as a nonnegative integer.

Data Types: double

NSubframe — Subframe numbernonnegative integer

Subframe number, specified as a nonnegative integer.

Data Types: double

Data Types: struct

n — Length of PHICH scrambling sequencepositive scalar integer

Length of PHICH scrambling sequence, specified as a positive scalar integer of 1 or more.

Data Types: double

mapping — Format of returned sequence'binary' (default) | 'signed'

Format of returned sequence, specified as a string. This argument controls the format of the returned sequence, seq. The string 'binary' maps true to 1 and false to 0. The string 'signed' maps true to –1 and false to 1.

Data Types: char

Output Arguments

collapse all

seq — PHICH pseudorandom scrambling sequencelogical column vector | numeric column vector

PHICH pseudorandom scrambling sequence, returned as a logical column vector or a numeric column vector. This argument contains the first n outputs of the PHICH scrambling sequence.

Data Types: logical | double

Introduced in R2014a

Was this topic helpful?