nrCRCDecode
Decode and remove cyclic redundancy check (CRC)
Description
[
checks the input data blk
,err
]
= nrCRCDecode(blkcrc
,poly
)blkcrc
for a CRC error. The function assumes that
the input data comprises the CRC parity bits associated with the polynomial
poly
. The function returns blk
, which is the
data part of the input blkcrc
. The function also returns
err
, which is the logical difference (XOR) between the CRC comprised
in the input and the CRC recalculated across the data part of the input. If
err
is not equal to 0, either an error has occurred or the input CRC
has been masked. For details on the associated polynomials, see TS 38.212 Section 5.1 [1].
Examples
Input Arguments
Output Arguments
References
[1] 3GPP TS 38.212. “NR; Multiplexing and channel coding.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
Extended Capabilities
Version History
Introduced in R2018b