This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

lteNDLSCH

NB-IoT downlink shared channel

Syntax

cwout = lteNDLSCH(outlen,trblkin)

Description

example

cwout = lteNDLSCH(outlen,trblkin) applies the complete NB-IoT downlink shared channel (DL-SCH) transport channel coding chain to the input data, trblkin, and returns the codeword in cwout. The encoding process includes type-24A CRC calculation, convolutional encoding, and rate matching. This function applies to a single transport block.

Examples

collapse all

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);

Input Arguments

collapse all

Codeword length, specified as a nonnegative integer. outlen represents the NPDSCH capacity for the associated codeword and the lengths of the vector in cwout. The input transport blocks are rate-matched to the codeword length.

Transport block information bits to be encoded, specified as a numeric vector.

Data Types: int8 | double

Output Arguments

collapse all

DL-SCH encoded codewords, returned as a numeric column vector of size outlen.

Data Types: int8

Introduced in R2018a