PUCCH format 2 DRS resource element indices
[ind,info] = ltePUCCH2DRSIndices(ue,chs)
[ind,info] = ltePUCCH2DRSIndices(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 Demodulation Reference
Signal (DRS) associated with PUCCH Format 2 transmission. 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 DRS modulation symbols should be mapped. Alternative
indexing formats can also be generated. The indices for each antenna
are in the columns of
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.
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 indices0 (default) | optional | 0...1185
PUCCH resource indices, specified as nonnegative vector with one element for each transmission antenna. These indices determine the cyclic shift and orthogonal cover used for transmission. (n2_pucch). This input argument is optional.
opts— Format options for control of the returned indicesstring | cell array of strings
Format options for control of the returned indices, specified as a string or a cell array of strings. It can contain the following option strings.
Indexing style— Indexing style of the returned indices
Indexing style of the returned indices, specified as
'ind', the returned indices are in linear index
'sub', the returned indices are in
symbol, antenna] subscript form.
Index base— Index base of the returned indices
Index base of the returned indices, specified as
'1based', the lowest index is 1. If
the lowest index is 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 DRS informationstructure array
PUCCH format 2 DRS information, returned as a structure array.
a structure array having these fields:
PRBSet— PRBs occupied by indices in each slot of the subframenumeric row vector
PRBs occupied by 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)