Documentation

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) allows control of the format of the returned indices through opts, a cell array of option strings.

Examples

collapse all

Generate PCFICH RE Indices

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 =

           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 =

           6
         156
         306
         456

Input Arguments

collapse all

enb — eNodeB cell-wide settingsscalar structure

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

Parameter FieldRequired or OptionalValuesDescription
NDLRBRequired

Scalar integer (6,...,110). Standard bandwidth values are 6, 15, 25, 50, 75, and 100. NDLRB also accepts the standardized bandwidths in string format from the set {'1.4MHz', '3MHz', '5MHz', '10MHz', '15MHz', '20MHz'}.

Number of downlink (DL) resource blocks (RBs)

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

opts — Index generation optionscell array

Index generation options, specified as a string or a cell array of strings 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

ind — Subframe PCFICH RE indicesnumeric matrix

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?