codeblk = lteBCH(enb,trblk)
a vector of BCH transport channel coded bits. The encoding process
includes CRC calculation and attachment, convolutional encoding, and
rate matching as defined in TS 36.212 , Section 5.3.1.
codeblk = lteBCH(
The rate matching internal to the coding results in many repetitions of the coded block. This repetition is deliberate so that part of a received block can be successfully decoded in isolation. Typically, the receiver can recover the BCH bits from the reception of just one frame (¼ of the transmitted block), rather than waiting 40 ms (four frames) for the full block to be received.
Generate the BCH coded vector of length 1920, corresponding to normal cyclic prefix.
enb = struct('CellRefP',1,'CyclicPrefix','Normal'); bchCoded = lteBCH(enb,ones(24,1)); bchCodedSize = size(bchCoded)
bchCodedSize = 1920 1
enb— eNodeB cell-wide settings
eNodeB cell-wide settings, specified as a structure that can contain these parameter fields.
|Parameter Field||Required or Optional||Values||Description|
1, 2, 4
Number of cell-specific reference signal (CRS) antenna ports
Cyclic prefix length
trblk— Transport block
Transport block, specified as a numeric vector of length 24 bits. This argument represents the transport block delivered to the BCH every 40 ms.
codeblk— BCH transport channel coded bits
BCH transport channel coded bits, returned as an integer column vector with 1920 bits for normal cyclic prefix or 1728 bits for extended cyclic prefix.
 3GPP TS 36.212. “Multiplexing and channel coding.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.