Documentation

lteULScramble

PUSCH scrambling

Syntax

  • out = lteULScramble(in,nsubframe,cellid,rnti)
  • out = lteULScramble(ue,in)
    example

Description

out = lteULScramble(in,nsubframe,cellid,rnti) performs PUSCH scrambling of bit vector, in, for subframe number, nsubframe, cell identity, cellid, and specified RNTI, rnti. It performs PUSCH scrambling according to TS 36.211, Section 5.3.1 [1]. Placeholder bits, denoted by x, are represented by –1 in the input vector or cell array of vectors. Repetition placeholder bits, y, are represented by –2. This function substitutes these placeholders as part of its scrambling operation.

in is a vector or a cell array containing one or two vectors corresponding to the number of codewords to be scrambled.

example

out = lteULScramble(ue,in) performs PUSCH scrambling of the in according to UE-specific settings in structure, ue.

Examples

collapse all

Perform PUSCH Scrambling

Perform PUSCH scrambling for NCellID=100 and RNTI=61.

in = ones(10,1);
bits = lteULScramble(struct('NCellID',100,'NSubframe',0,'RNTI',61),in)
bits =

    0
    1
    0
    0
    0
    1
    0
    0
    1
    1

Input Arguments

collapse all

in — Bit input datanumeric column vector | cell array of numeric column vectors

Bit input data, specified as a numeric column vector or cell array of numeric column vectors. This argument contains one or two vectors corresponding to the number of codewords to be scrambled.

Data Types: double | cell
Complex Number Support: Yes

nsubframe — Subframe numbernumeric scalar

Subframe number, specified as a numeric scalar.

Data Types: double

cellid — Physical layer cell identitynumeric scalar

Physical layer cell identity, specified as a numeric scalar.

Data Types: double

rnti — Radio Network Temporary Identifier (16-bit)numeric scalar

Radio Network Temporary Identifier (16-bit). specified as a numeric scalar.

Data Types: double

ue — UE-specific settingsstructure

UE-specific settings, specified as a structure with the following fields.

NCellID — Physical layer cell identitynumeric scalar

Physical layer cell identity, specified as a numeric scalar.

Data Types: double

NSubframe — Subframe numbernumeric scalar

Subframe number, specified as a numeric scalar.

Data Types: double

RNTI — Radio Network Temporary Identifier (16-bit)numeric scalar

Radio Network Temporary Identifier (16-bit). specified as a numeric scalar.

Data Types: double

Data Types: struct

Output Arguments

collapse all

out — PUSCH scrambled output bitsnumeric column vector | cell array of numeric column vectors

PUSCH scrambled output bits, returned as a numeric column vector or a cell array of numeric column vectors.

References

[1] 3GPP TS 36.211. "Physical Channels and Modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

Introduced in R2014a

Was this topic helpful?