Documentation

ltePDCCHPRBS

PDCCH pseudorandom scrambling sequence

Syntax

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

Description

example

seq = ltePDCCHPRBS(enb,n) returns a column vector containing the first n outputs of the Physical Downlink Control Channel (PDCCH) scrambling sequence when initialized according to cell-wide settings structure, enb.

example

seq = ltePDCCHPRBS(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

Return Signed PDCCH Scrambling Sequence

enb = lteRMCDL('R.0');
seq = ltePDCCHPRBS(enb,7,'signed')
     1
     1
     1
     1
     1
     1
    -1

Return Binary PDCCH Scrambling Sequence

enb = lteRMCDL('R.0');
seq = ltePDCCHPRBS(enb,7)
     0
     0
     0
     0
     0
     0
     1

Input Arguments

collapse all

enb — Cell-wide settingsstructure

Cell-wide settings, specified as a structure. This argument contains the following fields.

NCellID — Physical layer cell identity0...503

Physical layer cell identity, specified as a nonnegative scalar integer in the range of 0 to 503.

Data Types: double

NSubframe — Subframe numberpositive scalar integer

Subframe number, specified as a positive scalar integer greater than 0.

Data Types: double

Data Types: struct

n — Number of elements in returned sequencenumeric scalar

Number of elements in returned sequence, seq, specified as a numeric scalar.

Data Types: double

mapping — Sequence format'binary' (default) | 'signed'

String that 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 — PDCCH pseudorandom scrambling sequencelogical column vector | numeric column vector

PDCCH pseudorandom scrambling sequence, returned as a logical column vector or a numeric column vector. This argument contains the first n outputs of the PDCCH scrambling sequence when initialized according to cell-wide settings structure, enb. If you set mapping to 'signed', the output data type is double. Otherwise, the output data type is logical.

Data Types: logical | double

Introduced in R2014a

Was this topic helpful?