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.


PBCH resource element indices


  • ind = ltePBCHIndices(enb)
  • ind = ltePBCHIndices(enb,opts)


ind = ltePBCHIndices(enb) returns an N-by-CellRefP matrix of resource element (RE) indices for the Physical Broadcast Channel (PBCH) given the parameter fields of structure enb. By default, the indices are returned in 1-based linear indexing form that can directly index elements of a 3-D array representing the subframe resource grid for CellRefP antennas. These indices are ordered as the PBCH modulation symbols should be mapped. Alternative indexing formats can also be generated. The PBCH is only transmitted in first subframe of each frame.


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


collapse all

Generate zero-based PBCH resource element indices in linear form for RMC R.14.

enb = lteRMCDL('R.14');
ind = ltePBCHIndices(enb,{'0based'});
ans =

  4×4 uint32 matrix

    4465   12865   21265   29665
    4466   12866   21266   29666
    4468   12868   21268   29668
    4469   12869   21269   29669

Input Arguments

collapse all

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

Number of downlink resource blocks, specified as a scalar value.

Physical layer cell identity, specified as a scalar integer.

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

Number of cell-specific reference signal antenna ports, specified as 1, 2, or 4.

Subframe number, specified as a scalar integer.

Data Types: struct

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.


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

Index base

'1based' (default)

The returned indices are one-based.


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

PBCH resource element indices, returned as a numeric matrix of size N-by-CellRefP.

Data Types: double

Introduced in R2014a

Was this topic helpful?