Get uplink shared channel (UL-SCH) information
info = nrULSCHInfo(tBlkLen,targetCodeRate)
returns a structure containing UL-SCH information for an input transport block size
info = nrULSCHInfo(
tBlkLen and target code rate
UL-SCH information includes the cyclic redundancy check (CRC) attachment, code block
segmentation (CBS), and channel coding.
Show UL-SCH information before rate matching for an input transport block of length 8456 and target code rate 517/1024. The displayed UL-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; nrULSCHInfo(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— UL-SCH information
UL-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