PUCCH format 2, 2a, and 2b transmission UCI decoding
a vector of decoded UCI bits,
ucibits = lteUCIDecode(
from decoding the soft bit column vector,
where the output vector,
ucibits, is expected
a column vector of CQI/PMI or RI bits (UCI), representing the CQI/PMI
or RI information fields described in TS 36.212, Section 220.127.116.11 .
be between 1 and 13. The decoder uses a maximum likelihood approach
cw has been demodulated using
input had already been equalized to best restore the originally
transmitted complex values. If multiple decoded UCI bit vectors have
a likelihood equal to the maximum, UCIBITS will be a matrix where
each column represents one of the equally likely bit vectors
Decode UCI Bits
Decode UCI bits representing RI=3 using N=2 bits. According to TS 36.212, Table 18.104.22.168-6 this maps to the set of input bits
cw = lteUCIEncode([1;0])
cw = 20x1 int8 column vector 1 1 1 1 1 1 1 1 1 1 ⋮
softBits = double(cw)/sqrt(2); decodedUciBits = lteUCIDecode(softBits, 2)
decodedUciBits = 2x1 logical array 1 0
The decoded UCI bits match the input bits.
cw — Codeword of soft bits
numeric column vector
Codeword of soft bits, specified as a numeric column vector.
n — Number of bits
Number of bits, specified as a scalar integer from 1 to 11.
ucibits — Decoded UCI bits
logical column vector
Decoded UCI bits, returned as a logical column vector. UCI bits are CQI/PMI or RI information.
 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.