Documentation

ltePUCCH2Indices

PUCCH format 2 resource element indices

Syntax

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

Description

example

[ind,info] = ltePUCCH2Indices(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 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 of ind, with the number of columns determined by the number of PUCCH Resource Indices specified.

[ind,info] = ltePUCCH2Indices(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 2 Indices

Create indices for 1.4 MHz bandwidth, PUCCH resource index 0, using default values for all other parameters.

ind = ltePUCCH2Indices(struct('NULRB',6),struct('ResourceIdx',0));
ind(1:4)
           1
           2
           3
           4

Input Arguments

collapse all

ue — UE-specific settingsstructure

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

NULRB — Number of uplink resource blocksnonnegative scalar integer

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

Example: 4,5,...

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 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.

Example: 78

Data Types: double

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

Form of returned indices, specified as 'ind' or 'sub'. 'ind' denotes linear index form. 'sub' denotes [subcarrier, symbol, antenna] subscript row style.

Data Types: char

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

Index base of returned indices, specified as '1based' or '0based'. This option controls whether indices start at 1 or 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: 1,2,3,4...

Data Types: double

info — PUCCH format 2 informationstructure array

PUCCH format 2 information, returned as a structure array. info contains the following fields.

PRBSet — Set of PRBs occupied by the indices in each slot of the subframenumeric row vector

Set of PRBs occupied by the 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

Introduced in R2014a

Was this topic helpful?