Documentation

ltePUSCHDRSIndices

PUSCH DM-RS resource element indices

Syntax

  • ind = ltePUSCHDRSIndices(ue,chs)
    example
  • ind = ltePUSCHDRSIndices(ue,chs,opts)
    example

Description

example

ind = ltePUSCHDRSIndices(ue,chs) returns a matrix of resource element (RE) indices for the demodulation reference signal (DM-RS) associated with the physical uplink shared channel (PUSCH) transmission, given structures containing the UE-specific settings and the channel transmission configuration settings.

If indices for a number of layers, NU, are required, rather than indices for NTxAnts, the first NU columns of the output can be used. The first NU columns of ind are the appropriate indices for the layerseq output from the ltePUSCHDRS function.

example

ind = ltePUSCHDRSIndices(ue,chs,opts) formats the returned indices using option strings defined in the cell array, opts.

Examples

collapse all

Generate PUSCH DM-RS RE Indices

Generate PUSCH DM-RS resource element indices for the uplink reference measurement channel A3-1.

ue = lteRMCUL('A3-1');
puschInd = ltePUSCHDRSIndices(ue,ue.PUSCH);
puschInd(1:4)
ans =

         217
         218
         219
         220

Generate PUSCH DM-RS RE Indices Varying Output Format

Generate the zero-based PUSCH DM-RS indices for the uplink reference measurement channel A3-3.

ue = lteRMCUL('A3-3');
puschInd = ltePUSCHDRSIndices(ue,ue.PUSCH,{'0based','ind'});
puschInd(1:4)
ans =

         540
         541
         542
         543

Input Arguments

collapse all

ue — UE-specific settingsstructure

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

NULRB — Number of uplink resource blocksinteger

Number of uplink resource blocks, specified as an integer.

Data Types: double

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

Cyclic prefix length for uplink (UL), specified as either 'Normal' or 'Extended'.

Data Types: char

NTxAnts — Number of transmission antennas1 (default) | optional | 2 | 4

Number of transmission antennas, specified as 1, 2, or 4.

Data Types: double

Data Types: struct

chs — Channel transmission configurationstructure

Channel transmission configuration, specified as a structure having the following fields.

PRBSet — Physical resource block indicescolumn vector | two-column matrix

Physical resource block (PRB) indices, specified as a column vector or two-column matrix. The PRB indices correspond to the slot-wise resource allocations for this PUSCH.

  • When specified as a column vector, the resource allocation is the same in both slots of the subframe.

  • When specified as a two-column matrix, the resource allocations can vary for each slot in the subframe.

The PRB indices are zero-based.

Data Types: double

Data Types: struct

opts — Output format options for element resource indices{'ind', '1based'} (default) | optional | string | cell array of strings

Output format options for element resource indices, specified as a string or a cell array of strings. You can specify a format for the Indexing style and Index base.

Category Options Description

Indexing style

'ind' (default)

The returned indices are in linear index form.

'sub'

The returned indices are in [subcarrier,symbol,port] subscript row form.

Index base

'1based' (default)

Indices returned are one-based.

'0based'

Indices returned are zero-based.

Example: {'sub','0based'} returns zero-based indices in subscript row form.

Output Arguments

collapse all

ind — PUSCH DM-RS resource element indicesM-by-P numeric matrix

PUSCH DM-RS resource element indices, returned as an M-by-P numeric matrix. M is the number of DM-RS indices per antenna, and P is the number of transmission antennas. The resource element (RE) indices for the demodulation reference signal (DM-RS) are associated with PUSCH transmission. 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 the PUSCH DM-RS modulation symbol mapping specified in TS 36.211 [1], Section 5.5.2. The opts input offers alternative indexing formats.

Data Types: uint32

References

[1] 3GPP TS 36.211. "Physical Channels and Modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

Introduced in R2014a

Was this topic helpful?