Get downlink shared channel (DL-SCH) information
info = nrDLSCHInfo(tBlkLen,targetCodeRate)
returns a structure containing DL-SCH information for an input transport block size
info = nrDLSCHInfo(
tBlkLen and target code rate
DL-SCH information includes the cyclic redundancy check (CRC) attachment, code block
segmentation (CBS), and channel coding.
Show DL-SCH information before rate matching for an input transport block of length 8456 and target code rate 517/1024. The displayed DL-SCH information shows:
The transport block has 312 <NULL> filler bits per code block.
The number of bits per code block, after CBS, is 4576.
The number of bits per code block, after low-density parity-check (LDPC) coding, is 13,728.
tBlkLen = 8456; targetCodeRate = 517/1024; nrDLSCHInfo(tBlkLen,targetCodeRate)
ans = struct with fields: CRC: '24A' L: 24 BGN: 1 C: 2 Lcb: 24 F: 312 Zc: 208 K: 4576 N: 13728
tBlkLen— Transport block size
Transport block size, specified as a nonnegative integer.
targetCodeRate— Target code rate
Target code rate, specified as a real number in the range (0, 1).
info— DL-SCH information
DL-SCH information, returned as a structure containing these fields.
CRC polynomial selection
Number of CRC bits
LDPC base graph selection
Number of code blocks
Number of parity bits per code block
Number of <NULL> filler bits per code block
Lifting size selection
Number of bits per code block after CBS
Number of bits per code block after LDPC coding