NB-IoT downlink shared channel
applies the complete NB-IoT downlink shared channel (DL-SCH) transport channel
coding chain to the input data,
trblkin, and returns the
cwout. The encoding process includes type-24A CRC
calculation, convolutional encoding, and rate matching. This function applies to a
single transport block.
Generate 960 NB-IoT DL-SCH codeword bits with a transport block.
Set the transport block length to 208 and the output codeword length to 960. Generate the transport block information bits as a random binary sequence.
trblklen = 208; outlen = 960; trblkin = randi([0 1],trblklen,1);
Generate the 960 NB-IoT DL-SCH codeword bits given the transport block information bits and the output codeword length.
cw = lteNDLSCH(outlen,trblkin);
outlen— Codeword length
Codeword length, specified as a nonnegative integer. This input represents
the NPDSCH capacity for the associated codeword and the lengths of the
vector in the
cwout output. The input transport blocks
are rate-matched to the codeword length.
trblkin— Transport block information bits to be encoded
Transport block information bits to be encoded, specified as a numeric vector.