PUCCH format 2, 2a, and 2b transmission UCI decoding
ucibits = lteUCIDecode(cw,n)
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 184.108.40.206 .
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 representing RI=3 using N=2 bits. According to TS 36.212, Table 220.127.116.11-6 this maps to the set of input bits
cw = lteUCIEncode([1;0]) softBits = double(cw)/sqrt(2); decodedUciBits = lteUCIDecode(softBits, 2)
cw = 20×1 int8 column vector 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 decodedUciBits = 2×1 logical array 1 0
The decoded UCI bits match the input bits.
cw— Codeword of soft bits
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
Decoded UCI bits, returned as a logical column vector. UCI bits are CQI/PMI or RI information.
 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.