Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

ltePSSIndices

PSS resource element indices

Syntax

  • ind = ltePSSIndices(enb)
  • ind = ltePSSIndices(enb,port)
    example
  • ind = ltePSSIndices(enb,port,opts)
    example

Description

ind = ltePSSIndices(enb) returns a column vector, ind, of resource element (RE) indices, Port 0 oriented, for the Primary Synchronization Signal (PSS) fir the given cell-wide settings structure. By default, the indices are returned in one-based linear indexing form that can directly index elements of a 3-D array representing the resource array. These indices are ordered as the PSS modulation symbols should be mapped. Alternative indexing formats can also be generated.

    Note:   These indices are only defined for subframes 0 and 5 in FDD, and subframes 1 and 6 in TDD. Therefore, an empty vector is returned for other values of NSubframe. This behavior allows this function and the corresponding sequence function ltePSS to index the resource grid for any subframe number as described in Resource Grid Indexing. However, the resource grid is only modified in subframes 0 and 5 in FDD, or subframes 1 and 6 in TDD.

example

ind = ltePSSIndices(enb,port) returns indices appropriate for antenna port, port.

example

ind = ltePSSIndices(enb,port,opts) formats the returned indices using options defined in opts.

Examples

collapse all

Get PSS resource element indices in linear form for antenna port 0.

Create a cell-wide configuration sturcture initialed for RMC R.4. Generate PSS indices for RMC R.4 for antenna port 0.

enb = lteRMCDL('R.4');
ind = ltePSSIndices(enb,0);
ind(1:4)
ans =

  4×1 uint32 column vector

   438
   439
   440
   441

Get zero-based PSS resource element indices in linear form for antenna port 0.

enb = lteRMCDL('R.4');
ind = ltePSSIndices(enb,0,{'0based','ind'});
ind(1:4)
ans =

  4×1 uint32 column vector

   437
   438
   439
   440

Input Arguments

collapse all

Cell-wide settings, specified as a structure. enb contains the following fields.

Number of downlink resource blocks, specified as integer from 6 to 110.

Example: 9

Data Types: double

Cyclic prefix length, specified as 'Normal' or 'Extended'.

Data Types: char

Subframe number, specified as nonnegative scalar integer.

Example: 9

Data Types: double

Duplex mode type, specified as 'FDD' or 'TDD'.

Data Types: char

Antenna port number, specified as 0, 1, 2, or 3.

Example: 2

Data Types: double

Output format options for resource element indices, specified as 'ind' or 'sub', and '1based' or '0based'. 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 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: 'sub' returns indices in subscript row style using the default one-based indexing style.

Data Types: char | cell

Output Arguments

collapse all

PSS resource element indices, returned as an integer column vector or a three-column integer matrix. This output is generated using the cell-wide settings structure, enb.

Data Types: uint32

Introduced in R2014a

Was this topic helpful?