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.

nrDLSCHInfo

Get downlink shared channel (DL-SCH) information

Syntax

info = nrDLSCHInfo(tBlkLen,targetCodeRate)

Description

example

info = nrDLSCHInfo(tBlkLen,targetCodeRate) returns a structure containing DL-SCH information for an input transport block size tBlkLen and target code rate targetCodeRate. The DL-SCH information includes the cyclic redundancy check (CRC) attachment, code block segmentation (CBS), and channel coding.

Examples

collapse all

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

Input Arguments

collapse all

Transport block size, specified as a nonnegative integer.

Data Types: double

Target code rate, specified as a real number in the range (0, 1).

Data Types: double

Output Arguments

collapse all

DL-SCH information, returned as a structure containing these fields.

FieldsValuesDescription
CRC

'16', '24A'

CRC polynomial selection

L

0, 16, 24

Number of CRC bits

BGN

1, 2

LDPC base graph selection

C

Positive integer

Number of code blocks

Lcb

0, 24

Number of parity bits per code block

F

Nonnegative integer

Number of <NULL> filler bits per code block

Zc

Positive integer

Lifting size selection

K

Nonnegative integer

Number of bits per code block after CBS

N

Nonnegative integer

Number of bits per code block after LDPC coding

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

See Also

System Objects

Functions

Introduced in R2018b