Primary synchronization signal




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.


collapse all

Generate Primary Synchronization Signal Values

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

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

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

Input Arguments

collapse all

enb — Cell-wide settingsstructure

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

NCellID — Physical layer cell identity numbernonnegative scalar integer

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

Example: 6

Data Types: double

NSubframe — Subframe number0 (default) | optional | nonnegative scalar integer

Subframe number, specified as nonnegative scalar integer.

Example: 8

Data Types: double

DuplexMode — Duplex mode type'FDD' (default) | optional | 'TDD'

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

Data Types: char

Output Arguments

collapse all

s — Primary synchronization signal (PSS) valuescomplex-valued numeric column vector

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

See Also


Introduced in R2014a

Was this topic helpful?