PUCCH format 2 resource element indices
[ind,info] = ltePUCCH2Indices(ue,chs)
[ind,info] = ltePUCCH2Indices(ue,chs,opts)
a matrix of resource element indices given the UE-specific settings
ue and channel transmission configuration
It returns a matrix of resource element (RE) indices and information
info for the Physical Uplink
Control Channel (PUCCH) Format 2. By default the indices are returned
in 1-based linear indexing form that can directly index elements of
a resource matrix. These indices are ordered as the PUCCH format 2
modulation symbols should be mapped. Alternative indexing formats
can also be generated. The indices for each antenna are in the columns
ind, with the number of columns determined
by the number of PUCCH Resource Indices specified.
ue— UE-specific settingsstructure
UE-specific settings, specified as a structure.
contain the following fields.
NULRB— Number of uplink resource blocksnonnegative scalar integer
Number of uplink resource blocks, specified as a nonnegative scalar integer.
CyclicPrefixUL— Cyclic prefix length for uplink channels
'Normal'(default) | Optional |
Cyclic prefix length for uplink channels, specified as
Channel transmission configuration, specified as a structure.
the following fields.
ResourceIdx— PUCCH resource indicesnonnegative integer vector | 0...2047
PUCCH resource indices, specified as nonnegative integer vector between 0 and 2047. There is one index for each transmission antenna. These indices determine the cyclic shift and orthogonal cover used for transmission.
opts— Options to control the format of the returned indicescell array of strings | string
Options to control the format of the returned indices, specified as a string or a cell array of strings. The following option strings are accepted.
Indexing style— Form of returned indices
Form of returned indices, specified as
linear index form.
'sub' denotes [subcarrier, symbol, antenna]
subscript row style.
Index base— Index base of returned indices
Index base of returned indices, specified as
This option controls whether indices start at 1 or 0.
ind— Resource element indiceslinear matrix
Resource element (RE) indices, returned as 1 linear matrix. By default the indices are returned in 1-based linear indexing form that can directly index elements of a resource matrix.
info— PUCCH format 2 informationstructure array
PUCCH format 2 information, returned as a structure array.
the following fields.
Set of PRBs occupied by the indices in each slot of the subframe, returned as a numeric row vector.
RBIdx— PUCCH logical resource block indexnumeric scalar
PUCCH logical resource block index, returned as a numeric scalar. (m)