Main Content

ltePSS

Primary synchronization signal

Description

s = ltePSS(enb) returns a complex column vector containing the primary synchronization signal (PSS) values for cell-wide settings in the enb structure.

This signal is only defined for subframes 0 and 5 in FDD, and subframes 1 and 6 in TDD. Therefore, an empty vector is returned for other values of NSubframe. This behavior allows this function and the corresponding sequence function ltePSSIndices to index the resource grid for any subframe number as described in Resource Grid Indexing. However, the resource grid is only modified in subframes 0 and 5 in FDD, or subframes 1 and 6 in TDD.

example

Examples

collapse all

Generate the primary synchronization signal (PSS) values using the cell-wide settings provided.

pss = ltePSS(struct('NCellID',1,'NSubframe',0,'DuplexMode','FDD'));
pss(1:4)
ans = 4×1 complex

   1.0000 + 0.0000i
  -0.9691 - 0.2468i
  -0.7331 - 0.6802i
   0.0747 + 0.9972i

Input Arguments

collapse all

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

Physical layer cell identity number, specified as a nonnegative scalar integer.

Example: 6

Data Types: double

Subframe number, specified as nonnegative scalar integer.

Example: 8

Data Types: double

Duplex mode type, specified as 'FDD' or 'TDD'. Used for separating the transmission signals.

Data Types: char | string

Output Arguments

collapse all

Primary synchronization signal (PSS) values, returned as a complex-valued numeric column vector. These values are created for the cell-wide settings in the enb structure.

Example: 1.0000 + 0.0000i

Data Types: double
Complex Number Support: Yes

Version History

Introduced in R2014a