Generate transform precoded symbols
generates transform precoded symbols for modulation symbols
tpSym = nrTransformPrecode(
defined in TS 38.211 Section 22.214.171.124 and 126.96.36.199.4 .
the number of resource blocks allocated for the physical uplink shared channel (PUSCH),
physical uplink control channel (PUCCH) format 3, or PUCCH format 4 transmission.
mrb determines the length of the subblocks in
modSym which are transform precoded separately.
In the NR uplink, transform precoding is used together with CP-OFDM modulation to create an SC-FDMA (DFT-s-OFDM) waveform. Transform precoding applies to only these transmissions:
Before MIMO precoding in the PUSCH with single-layer transmission.
After symbol modulation in the PUCCH format 3 transmission.
After block-wise spreading in the PUCCH format 4 transmission.
Generate a random sequence of binary values corresponding to a PUSCH codeword of 960 bits.
cw = randi([0 1],960,1);
Perform PUSCH scrambling initialized with the specified physical layer cell identity number and RNTI.
ncellid = 42; rnti = 101; scrambled = nrPUSCHScramble(cw,ncellid,rnti);
Modulate the scrambled PUSCH codeword by using modulation scheme 16-QAM.
modulation = '16QAM'; modSym = nrSymbolModulate(scrambled,modulation);
Perform layer mapping using a single transmission layer.
layeredSym = nrLayerMap(modSym,1);
Generate transform precoded symbols by using an allocated PUSCH bandwidth of 2 resource blocks.
tpSym = nrTransformPrecode(layeredSym,2);
modSym— Modulation symbols
Modulation symbols, specified as a complex matrix. The number of rows in
modSym must be a multiple of
modSym is specified as a column vector, corresponding to
single-layer transmission. If
modSym is a matrix, the
nrTransformPrecode function processes each column separately and
returns a matrix.
Complex Number Support: Yes
mrb— Number of resource blocks
Number of resource blocks allocated for the PUSCH, PUCCH format 3, or PUCCH format 4
transmission, specified as a positive integer.
mrb determines the
length of the subblocks in
modSym which are transform precoded
mrb values are of the form
α5 are nonnegative integers, as specified in
 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.