Main Content

nrPSS

Generate PSS symbols

Description

example

sym = nrPSS(ncellid) returns the primary synchronization signal (PSS) symbols for the physical layer cell identity number ncellid. The function implements TS 38.211 Section 7.4.2.2 [1].

sym = nrPSS(ncellid,'OutputDataType',datatype) specifies the data type of the PSS symbol.

Examples

collapse all

Generate the sequence of 127 PSS binary phase shift keying (BPSK) modulation symbols for a given cell identity. The PSS is transmitted in the first symbol of a Synchronization Signal / Physical Broadcast Channel (SS/PBCH) block.

ncellid = 17;
pss = nrPSS(ncellid)
pss = 127×1

    -1
    -1
    -1
    -1
    -1
    -1
     1
     1
     1
    -1
      ⋮

Input Arguments

collapse all

Physical layer cell identity number, specified as an integer from 0 to 1007.

Data Types: double

Data type of the output symbols, specified as 'double' or 'single'.

Data Types: char | string

Output Arguments

collapse all

PSS symbols, returned as a column vector of real numbers.

Data Types: single | double

References

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

Extended Capabilities

Version History

Introduced in R2018b