Main Content

Transport Channel Subcomponents

CRC coding, code block segmentation, polar and LDPC coding, rate matching and recovery in 5G NR

Use 5G Toolbox™ low-level transport channel subcomponent functions to:

  • Perform cyclic redundancy check (CRC) encoding and decoding.

  • Perform polar encoding, decoding, rate matching, and rate recovery.

  • Perform low-density parity-check (LDPC) encoding, decoding, rate matching, and rate recovery.

  • Perform LDPC code block segmentation and desegmentation.


nrCRCEncodeCalculate and append cyclic redundancy check (CRC)
nrCRCDecodeDecode and remove cyclic redundancy check (CRC)
nrLDPCEncodeLow-density parity-check (LDPC) encoding
nrLDPCDecodeLow-density parity-check (LDPC) decoding
nrRateMatchLDPCLow-density parity-check (LDPC) rate matching
nrRateRecoverLDPCLow-density parity-check (LDPC) rate recovery
nrPolarDecodePolar decoding
nrPolarEncodePolar encoding
nrRateMatchPolarPolar rate matching
nrRateRecoverPolarPolar rate recovering
nrCodeBlockSegmentLDPCLDPC code block segmentation and CRC attachment
nrCodeBlockDesegmentLDPCLDPC code block desegmentation and CRC decoding
nrTBSGet transport block size (Since R2020b)


nrCQITablesCQI lookup tables (Since R2024a)
nrPDSCHMCSTablesPDSCH MCS lookup tables (Since R2024a)
nrPUSCHMCSTablesPUSCH MCS lookup tables (Since R2024a)