Documentation

ltePHICHPRBS

PHICH pseudorandom scrambling sequence

Syntax

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

Description

example

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. Valid formats are 'binary', which is the default, and 'signed'. 'binary' maps true to 1 and false to 0. 'signed' maps true to –1 and false to 1.

Examples

collapse all

Generate PHICH Pseudorandom Scrambling Sequence

Generate the pseudorandom scrambling sequence for the PHICH. Using RMC R.0 results in 12 BPSK modulated symbols, where 1 bit per symbol is mapped onto a single resource element (RE).

enb = lteRMCDL('R.0');
phichInfo = ltePHICHInfo(enb);
phichPrbsSeq = ltePHICHPRBS(enb,phichInfo.NRE);

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?