lteNPBCHDecode
Decode NPBCH symbols
Syntax
Description
[
decodes bits
,stateout
,symbols
,nfmod64
,trblk
,NBRefP
]
= lteNPBCHDecode(enb
,sym
)sym
, the NB-IoT physical broadcast channel (NPBCH) symbols, for
cell-wide settings enb
. The NPBCH decoding inverts the NPBCH encoding
process described in section 10.2.4 of [1] and the
broadcast channel (BCH) encoding process described in section 5.3.1 of [2]. The
function returns bits
, a codeword of soft bits, the decoder state for
reception of a bundle (a full set of repeated transmissions of a
single transport block) stateout
, and the received constellation
symbols, symbols
, by performing the inverse of NPBCH encoding. Frame
number modulo 64 nfmod64
, decoded BCH information bits
trblk
, and the number of narrowband reference signal (NRS) antenna
ports NBRefP
, are returned by performing the inverse of BCH
encoding.
Examples
Input Arguments
Output Arguments
Tips
To use this function for a bundle transmission, follow these steps:
Call the
lteNPBCHDecode
function and specify the initial encoder state using thestatein
input. Thestateout
output represents the decoder state of the first transmission of the bundle.Call the
lteNPBCHDecode
function again and specify thestatein
input as thestateout
output returned by the previous call to the function.Repeat step 2 until the
lteNPBCHDecode
function returns theEndOfTx
field of thestateout
output as1
(true
), indicating the end of the bundle. ThelteNPBCHDecode
automatically resets the state at the end of the bundle transmission.
References
[1] 3GPP TS 36.211. “Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). https://www.3gpp.org.
[2] 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). https://www.3gpp.org.
Version History
Introduced in R2019b