This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Generate SSS symbols


sym = nrSSS(ncellid)
sym = nrSSS(ncellid,'OutputDataType',datatype)



sym = nrSSS(ncellid) returns the secondary synchronization signal (SSS) symbols for the physical layer cell identity number ncellid. The function implements TS 38.211 Section [1].

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


collapse all

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

ncellid = 17;
sss = nrSSS(ncellid)
sss =


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

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

Data Types: single | double


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

Extended Capabilities

See Also


Introduced in R2018b