Documentation

ltePUCCH1DRSIndices

PUCCH format 1 DRS resource element indices

Syntax

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

Description

example

[ind,info] = ltePUCCH1DRSIndices(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 1 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 1 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] = ltePUCCH1DRSIndices(ue,chs,opts) allows control of the format of the returned indices through a cell array opts of option strings.

Examples

collapse all

Generate PUCCH Format 1 DRS Indices

Generate PUCCH format 1 demodulation reference signal (DRS) resource element (RE) indices for 1.4 MHz bandwidth, PUCCH resource index 0, and using default values for all other parameters.

ind = ltePUCCH1DRSIndices(struct('NULRB',6),struct('ResourceIdx',0));
ind(1:4)
         145
         146
         147
         148

Input Arguments

collapse all

ue — UE-specific settingsstructure

ue is a structure having the following fields.

NULRB — Number of uplink resource blocks0 (default) | nonnegative scalar integer

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

Data Types: double

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

Cyclic prefix length, specified as 'Normal' or 'Extended', for uplink channels. 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...2047

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. (n1_pucch)

Example: 78

Data Types: double

ResourceSize — Size of resources allocated to PUCCH format 20 (default) | optional | 0...98

Size of resources allocated to PUCCH format 2, specified as nonnegative scalar integer. This parameter affects location of this transmission. (N2RB)

Data Types: double

DeltaShift — Delta shift1 (default) | optional | 2 | 3

Delta shift, specified as 1, 2, or 3. (delta_shift)

Data Types: double

CyclicShifts — Number of cyclic shifts for format 1 resource blocks0 (default) | optional | 0...7

Number of cyclic shifts for format 1 resource blocks, in RBs, specified as a nonnegative scalar integer. Optional. This parameter can be used in a mixture of format 1 and format 2 PUCCH. (N1cs)

Data Types: double

Data Types: struct

opts — Options to control format of returned indicesstring | cell array of strings

Options to control format of returned indices, specified as a string or a cell array of strings. It can contain the following option strings.

Indexing style — Indexing style of returned indices'ind' (default) | 'sub'

Indexing style of 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 returned indices'1based' (default) | '0based'

Index base of returned indices, specified as '1based' or '0based'. This parameter controls whether the returned indices are 1-based or 0-based.

Data Types: char

Data Types: char | cell

Output Arguments

collapse all

ind — PUCCH format 1 resource element indicesinteger column vector | 3-column integer matrix

PUCCH format 1 resource element indices, returned as an integer column vector or a 3-column integer matrix. By default, the indices are returned in 1-based linear indexing form, which can be used to directly index elements of a resource grid.

Example: 145,146.147....

Data Types: uint32

info — PUCCH format 1 DRS informationstructure array

PUCCH format 1 DRS information, returned as a structure array. info can contain the following fields.

PRBSet — Indices occupied by PRB in each slot of subframenumeric row vector

Indices occupied by PRB in each slot of subframe, returned as a numeric row vector. By default, the indices are 0-based.

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?