nrPUSCHDescramble
Perform PUSCH descrambling
Syntax
Description
returns the soft bits resulting from the inverse operation of physical uplink shared channel
(PUSCH) scrambling from TS 38.211 Section 6.3.1.1 [1]. cw = nrPUSCHDescramble(in,nid,rnti)in is
the scrambled soft bits of one or two codewords. nid is the scrambling
identity, and rnti is the radio network temporary identifier (RNTI) of
the user equipment (UE). When you use this syntax, the function descrambles only the data
bits because the placeholder bit locations for any uplink control information (UCI), if
present, are unknown in this case.
specifies random access preamble index cw = nrPUSCHDescramble(in,nid,rnti,nrapid)nrapid to initialize the
scrambling sequence for msgA on PUSCH, as defined in Release 16 of TS
38.211 Section 6.3.1.1.
When in specifies the
scrambled soft bits of two codewords, the function ignores
nrapid. (since R2024a)
specifies UCI placeholder X bit locations cw = nrPUSCHDescramble(in,nid,rnti,nrapid,xInd,yInd)xInd and UCI placeholder Y
bit locations yInd. The inputs xInd and
yInd are 1-based column vectors within the codeword and indicate the
respective placeholder locations.
When in specifies the
scrambled soft bits of two codewords, the function assumes that the UCI is multiplexed on
the first codeword. (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.