This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

ltePCFICHIndices

PCFICH resource element indices

Syntax

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

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 specified by 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 = 4x1 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 = 4x1 uint32 column vector

     6
   156
   306
   456

Input Arguments

collapse all

eNodeB cell-wide settings, specified as a structure containing 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, cell array of character vectors, or string array. For convenience, you can specify several options as a single character vector or string scalar by a space-separated list of values placed inside the quotes. Values for opts when specified as a character vector include (use double quotes for string):

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 1. Specify '0based' to generate indices where the first value is 0.

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

Example: 'ind 1based', "ind 1based", {'ind','1based'}, or ["ind","1based"] specify the same formatting options.

Data Types: char | string | 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