Documentation

ltePUCCH2DRSIndices

PUCCH format 2 DRS resource element indices

Syntax

  • [ind,info] = ltePUCCH2DRSIndices(ue,chs)
    example
  • [ind,info] = ltePUCCH2DRSIndices(ue,chs,opts)

Description

example

[ind,info] = ltePUCCH2DRSIndices(ue,chs) returns a matrix of resource element indices given the UE-specific settings structure ue, and channel transmission configuration chs. It returns a matrix of resource element (RE) indices and information structure array 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.

[ind,info] = ltePUCCH2DRSIndices(ue,chs,opts) allows control of the format of the returned indices through a cell array of option strings, opts.

Examples

collapse all

Generate PUCCH Format 2 DRS Indices

Generate PUCCH format 2 demodulation reference signal (DRS) indices for 1.4 MHz bandwidth, PUCCH resource index 0.

ind = ltePUCCH2DRSIndices(struct('NULRB',6),struct('ResourceIdx',0));
ind(1:4)
          73
          74
          75
          76

Input Arguments

collapse all

ue — UE-specific settingsstructure

UE-specific settings, specified as a structure. ue contains the following fields.

NULRB — Number of uplink resource blocksnonnegative scalar integer

Number of uplink resource blocks, specified as a nonnegative scalar integer.

Example: 4

Data Types: double

CyclicPrefixUL — Cyclic prefix length for uplink channels'Normal' (default) | optional | 'Extended'

Cyclic prefix length for uplink channels, specified as 'Normal' or 'Extended'. Optional.

Data Types: char

chs — Channel transmission configurationstructure

Channel transmission configuration, specified as a structure. chs contains 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.

Example: 78

Data Types: double

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'ind' (default) | 'sub'

Indexing style of the returned indices, specified as 'ind' or 'sub'. If 'ind', the returned indices are in linear index form. If 'sub', the returned indices are in [subcarrier, symbol, antenna] subscript form.

Data Types: char

Index base — Index base of the returned indices'1based' (default) | '0based'

Index base of the returned indices, specified as '1based' or '0based'. If '1based', the lowest index is 1. If '0based', the lowest index is 0.

Data Types: char

Output Arguments

collapse all

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.

Example: 145,146.147....

Data Types: double

info — PUCCH format 2 DRS informationstructure array

PUCCH format 2 DRS information, returned as a structure array. info is 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.

Data Types: double

RBIdx — PUCCH logical resource block indexnumeric scalar

PUCCH logical resource block index, returned as a numeric scalar. (m)

Data Types: double

Data Types: struct

Introduced in R2014a

Was this topic helpful?