lteCRCDecode
Cyclic redundancy check decoding and removal
Description
[
checks
the input data vector for a CRC error assuming the vector comprises
a block of data with the associated CRC bits attached. The data part
of the input is returned in vector blk
,err
]
= lteCRCDecode(blkcrc
,poly
)blk
. The logical
difference (XOR) between the attached CRC and the CRC recalculated
across the data part of the input is returned in uint32
scalar err
.
If err
is not equal to 0, either an error has
occurred or the input CRC has been masked. A logical mask can also
be applied directly to err
. See TS 36.212 [1], Section 5.1.1 for the associated
polynomials.
Examples
Input Arguments
Output Arguments
References
[1] 3GPP TS 36.212. “Evolved Universal Terrestrial Radio Access (E-UTRA); Multiplexing and channel coding.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network. URL: https://www.3gpp.org.
Version History
Introduced in R2014a
See Also
lteCRCEncode
| lteCodeBlockDesegment
| lteConvolutionalDecode