nrPUSCHScramble
Perform PUSCH scrambling
Description
returns scrambled codewords resulting from physical uplink shared channel (PUSCH)
scrambling, as defined in TS 38.211 Section 6.3.1.1 [1]. scrambled
= nrPUSCHScramble(cw
,nid
,rnti
)cw
is
one or two uplink shared channel (UL-SCH) codewords, as described in TS 38.212 Section 6.2.7
[2]. nid
is
the scrambling identity, and rnti
is the radio network temporary
identifier (RNTI) of the user equipment (UE).
specifies random access preamble index scrambled
= nrPUSCHScramble(cw
,nid
,rnti
,nrapid
)nrapid
to initialize the
scrambling sequence for msgA on the PUSCH, as defined in Release 16 of
TS 38.211 Section 6.3.1.1.
When cw
is a cell array of
two UL-SCH codewords, the function ignores nrapid
. (since R2024a)
Examples
Input Arguments
Output Arguments
References
[1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
[2] 3GPP TS 38.212. “NR; Multiplexing and channel coding.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.