lteCRCEncode
Cyclic redundancy check calculation and appending
Description
calculates
a cyclic redundancy check (CRC) for the input data vector and returns
a copy of the vector with the CRC attached. To support the correct
processing of filler bits, negative input bit values are interpreted
as logical 0 for the purposes of the CRC calculation. A value of –1
is used to represent filler bits. blkcrc
= lteCRCEncode(blk
,poly
)lteCRCEncode
calculates
the CRC defined by poly
for the input bit vector blk
and
returns a copy of the input with the CRC appended in vector blkcrc
.
Valid options for the CRC polynomial are '8'
, '16'
, '24A'
,
or '24B'
. 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: http://www.3gpp.org.
Version History
Introduced in R2014a