Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Code block desegmentation and CRC decoding

```
[blk,err]
= lteCodeBlockDesegment(cbs,blklen)
```

```
[blk,err]
= lteCodeBlockDesegment(cbs)
```

`[`

concatenates
the input code block vectors contained in `blk`

,`err`

]
= lteCodeBlockDesegment(`cbs`

,`blklen`

)`cbs`

into
an output vector, `blk`

, of length `blklen`

. `blklen`

is
also used to validate the dimensions of the data in `cbs`

and
to calculate the amount of filler to be removed. If `cbs`

is
a cell array containing more than one vector, each vector is assumed
to have a type-24B CRC attached. This CRC is decoded and stripped
from each code block before output concatenation and the CRC error
result is placed in the associated element of vector `err`

.
The length of `err`

is the number of code blocks.
If `cbs`

is a single vector or a cell array containing
a single vector, no CRC decoding or stripping is performed and `err`

is
empty. In all cases, the number of filler bits stripped from the beginning
of the (first) code block is calculated from `blklen`

. `lteCodeBlockDesegment`

performs
the inverse of the code block segmentation and CRC appending (see `lteCodeBlockSegment`

).

`lteCodeBlockSegment`

| `lteCRCDecode`

| `lteDLSCHDecode`

| `lteTurboDecode`

| `lteULSCHDecode`

Was this topic helpful?