Main Content

lteNSSS

Generate NSSS symbols for subframe

Description

sym = lteNSSS(enb) generates narrowband secondary synchronization (NSSS) symbols sym for cell-wide settings specified enb.

example

Examples

collapse all

Initialize cell-wide settings by specifying a narrowband operation mode, subframe number, frame number, and physical layer cell identity.

enb.OperationMode = 'Standalone';    % Narrowband operation mode
enb.NSubframe = 9;                   % Subframe number
enb.NFrame = 0;                      % Frame number
enb.NNCellID = 1;                    % Physical layer cell identity

Generate the NSSS symbols.

sym = lteNSSS(enb);

Input Arguments

collapse all

Cell-wide settings, specified as a structure containing these fields.

NameRequired or OptionalValuesDescriptionData Types
OperationModeOptional'Standalone' (default), 'Inband-SamePCI', 'Inband-DifferentPCI', 'Guardband'

NB-IoT operation mode, specified as one of these values:

  • 'Standalone' – NB-IoT standalone operation within any 180-kHz band outside any LTE carrier bandwidth

  • 'Inband-SamePCI' – NB-IoT in-band operation with the same physical layer cell identity (PCI) as an LTE carrier

  • 'Inband-DifferentPCI' – NB-IoT in-band operation with a different PCI to an LTE carrier

  • 'Guardband' – NB-IoT guard-band operation utilizing unused resource blocks within the guard-band of an LTE carrier

char, string
NNCellIDRequiredInteger in the interval [0, 503]Narrowband PCIdouble
NSubframeOptional9 (default), integerSubframe number. Because the NSSS is defined only for subframe 9 in alternate frames, the function returns an empty array for any value of this field other than 9. This behavior enables resource grid indexing for any subframe number.double
NFrameOptional0 (default), integerFrame number. Because the NSSS is defined only for subframe 9 in alternate frames, the function returns an empty vector for odd values of this field. This behavior enables resource grid indexing for any subframe number and any frame number.double
NCellIDRequired when you specify OperationMode as 'Inband-SamePCI' or 'Inband-DifferentPCI'Integer in the interval [0, 503]PCIdouble
CellRefPRequired when you specify OperationMode as 'Inband-SamePCI' or 'Inband-DifferentPCI'1, 2, 4Number of cell-specific antenna portsdouble

Note

To exclude cell reference signal (RS) locations, specify the NCellID and CellRefP fields. If you do not specify the NCellID and CellRefP fields, the function assumes that the cell RS is absent and generates NSSS values for all cell RS locations.

Data Types: struct

Output Arguments

collapse all

NSSS symbols for a subframe, returned as a complex-valued column vector. If you specify the NSubframe field of the enb input as any value other than 9 or the NFrame field as an odd value, then the function returns this output as an empty array.

Version History

Introduced in R2019a