Documentation

nrPSSIndices

Generate PSS resource element indices

Description

example

Ind.= nrPSSIndicesreturns the resource element indices for the primary synchronization signal (PSS), as defined in TS 38.211 Section 7.4.3.1[1]. The returned indices are one-based using linear indexing form. This indexing form can directly index the elements of a 240-by-4 matrix corresponding to the Synchronization Signal / Physical Broadcast Channel (SS/PBCH) block. The order of the indices indicates how the PSS modulation symbols are mapped.

Ind.= nrPSSIndices(Name,Value)specifies index formatting options by using one or more name-value pair arguments. Unspecified options take default values.

Examples

collapse all

Generate the 127 resource element indices associated with the PSS within a single SS/PBCH block.

Ind.= nrPSSIndices
Ind.= 127×1 uint32 column vector 57 58 59 60 61 62 ...

Input Arguments

collapse all

Name-Value Pair Arguments

Specify optional comma-separated pairs ofName,Valuearguments.Nameis the argument name andValueis the corresponding value.Namemust appear inside quotes. You can specify several name and value pair arguments in any order asName1,Value1,...,NameN,ValueN.

Example:'IndexStyle','subscript','IndexBase','0based'specifies nondefault resource element index formatting options.

Resource element indexing form, specified as the comma-separated pair consisting of'IndexStyle'and one of these values:

  • “指数”— The indices are in linear index form.

  • 'subscript'— The indices are in [subcarrier, symbol, antenna] subscript row form.

Data Types:char|string

Resource element indexing base, specified as the comma-separated pair consisting of'IndexBase'and one of these values:

  • '1based'— The index counting starts from one.

  • '0based'— The index counting starts from zero.

Data Types:char|string

Output Arguments

collapse all

PSS resource element indices, returned as one of these values:

  • Column vector — When'IndexStyle'is“指数”.

  • M-by-3 matrix — When'IndexStyle'is'subscript'. The matrix rows correspond to the [subcarrier, symbol, antenna] subscripts based on the number of subcarriers and OFDM symbols in an SS/PBCH block, and the number of antennas, respectively.

Depending on'IndexBase', the indices are either one-based or zero-based.

Data Types:uint32

参考

[1]3GPP TS 38.211. “NR; Physical channels and modulation.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

Extended Capabilities

Introduced in R2018b