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.

ltePCFICHIndices

PCFICH resource element indices

Syntax

  • ind = ltePCFICHIndices(enb)
  • ind = ltePCFICHIndices(enb,opts)
    example

Description

ind = ltePCFICHIndices(enb) returns the 16-by-CellRefP matrix of subframe resource element (RE) indices for the physical control format indicator channel (PCFICH), given the enb input structure. By default, the indices are returned in 1-based linear indexing form that directly indexes elements of a 3-D array representing the subframe resource grid for CellRefP antenna ports. Each column of ind contains per-antenna indices for 16 resource elements in one of the CellRefP array planes. The rows are ordered as the PCFICH modulation symbols should be mapped. The indices can also be returned in a number of alternative indexing formats.

The PCFICH is always transmitted on 16 resource elements, or 4 resource element groups (REG), in the first OFDM symbol of a subframe however their locations depend on the NCellID and NDLRB parameters.

example

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

Examples

collapse all

This example generates physical CFI channel (PCFICH) resource element (RE) indices for two different physical layer cell identity values.

To show the effects of the physical layer cell identity, NCellID on the indices, first set it to 0. Then, generate and display the PCFICH indices.

enb.NDLRB = 50;
enb.NCellID = 0;
enb.CyclicPrefix = 'Normal';
enb.CellRefP = 1;
ind = ltePCFICHIndices(enb,{'0based','reg'})
ind =

  4×1 uint32 column vector

     0
   150
   300
   450

Next, set the physical layer cell identity, |NCellID|, to 1. Regenerate
and display the PCFICH indices.
enb.NCellID = 1;
ind = ltePCFICHIndices(enb,{'0based','reg'})
ind =

  4×1 uint32 column vector

     6
   156
   306
   456

Input Arguments

collapse all

eNodeB cell-wide settings, specified as a structure that can contain these parameter fields.

Parameter FieldRequired or OptionalValuesDescription
NDLRBRequired

Scalar integer from 6 to 110

Number of downlink resource blocks. (NRBDL)

NCellIDRequired

Integer from 0 to 503

Physical layer cell identity

CyclicPrefixOptional

'Normal' (default), 'Extended'

Cyclic prefix length

CellRefPOptional

1 (default), 2, 4

Number of cell-specific reference signal (CRS) antenna ports

Index generation options, specified as a character vector or a cell array of character vectors that can contain the following values.

OptionValuesDescription
Indexing style

'ind' (default), 'sub'

Style for the returned indices, specified as one of the following options.

  • 'ind' — returns the indices in linear index form as a column vector (default)

  • 'sub' — returns the indices in [subcarrier, symbol, antenna] subscript row style. The number of rows in the output, ind, is the number of resource elements (NRE). Thus, ind is an NRE-by-3 matrix.

Index base

'1based' (default), '0based'

Base value of the returned indices. Specify '1based' to generate indices where the first value is one. Specify '0based' to generate indices where the first value is zero.

Indexing unit

're' (default), 'reg'

Unit of the returned indices. Specify 're' to indicate that the returned values correspond to individual resource elements (REs). Specify 'reg' to indicate that the returned values correspond to resource element groups (REGs).

Data Types: char | cell

Output Arguments

collapse all

Subframe PCFICH RE indices, returned as a numeric matrix of size 16-by-CellRefP. Each column of ind contains per-antenna indices for 16 resource elements in one of the CellRefP array planes. The rows are ordered as the PCFICH modulation symbols should be mapped.

Introduced in R2014a

Was this topic helpful?