ind = ltePUCCH2DRSIndices(ue,chs) returns
a matrix of resource element indices for the demodulation reference
signal (DRS) associated with the PUCCH format 2 transmission given
structures containing the UE-specific settings, and the channel transmission
configuration.
Because there are four antennas, the DM-RS indices are output as a four-column vector and the info output structure contains four elements. View ind and the size of info to confirm.
Using 'sub' indexing style, the indices are output in [subcarrier, symbol, antenna] subscript form. View the midpoint of ind and observe the antenna index change.
UE-specific settings, specified as a structure containing these
fields.
Number of uplink resource blocks, specified as an integer from
6 to 110.
Data Types: double
Cyclic prefix length for uplink channels, specified as 'Normal' or 'Extended'.
Data Types: char | string
Channel transmission configuration, specified as a structure
containing the following fields.
PUCCH resource indices, specified as an integer or a vector
of integers. Values range from 0 to 1185. There is one index for each
transmission antenna. These indices determine the cyclic shift and
orthogonal cover used for transmission. ()
Data Types: struct
Output format options for resource element indices, specified as a character vector, cell
array of character vectors, or string array. For convenience, you can
specify several options as a single character vector or string scalar by a
space-separated list of values placed inside the quotes. Values for
opts when specified as a character vector include
(use double quotes for string) :
Category
Options
Description
Indexing style
'ind' (default)
The returned indices are in linear index style.
'sub'
The returned indices are in [subcarrier,symbol,port] subscript
row style.
Index base
'1based' (default)
The returned indices are one-based.
'0based'
The returned indices are zero-based.
Example: 'ind 1based', "ind 1based",
{'ind','1based'}, or ["ind","1based"] specify
the same formatting options.
Resource element indices, returned as an integer column vector
or a three-column integer matrix. By default the indices are returned
in one-based linear indexing form that can directly index elements
of a resource matrix. These indices are ordered according to PUCCH
format 2 DRS modulation symbol mapping. The opts input
offers alternative indexing formats. 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
in chs.ResourceIdx.
Example: [145,146,147,...]
Data Types: uint32
PUCCH format 2 DRS information, returned as a structure array
with elements corresponding to each transmit antenna and containing
these fields.
Indices occupied by PRB in each slot of the subframe, returned
as a nonnegative integer vector. The indices are zero-based.
Example: [0,5]
Data Types: double
PUCCH logical resource block index, returned as a nonnegative
integer. (m)
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.