Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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 for NCellID=100 and RNTI=61.

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

  10×1 int8 column vector

   0
   1
   0
   0
   0
   1
   0
   0
   1
   1

Input Arguments

collapse all

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

Subframe number, specified as a numeric scalar.

Data Types: double

Physical layer cell identity, specified as a numeric scalar.

Data Types: double

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

Data Types: double

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

Physical layer cell identity, specified as a numeric scalar.

Data Types: double

Subframe number, specified as a numeric scalar.

Data Types: double

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

Data Types: double

Data Types: struct

Output Arguments

collapse all

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?