Main Content

lteNPSS

Generate NPSS symbols for subframe

Description

example

sym = lteNPSS(enb) generates sym, the narrowband primary synchronization signal (NPSS) symbols in a subframe for cell-wide settings enb.

Examples

collapse all

Initialize cell-wide settings by specifying a narrowband operation mode and subframe number.

enb.OperationMode = 'Standalone';    % Narrowband operation mode
enb.NSubframe = 5;                   % Subframe number

Generate the NPSS symbols.

sym = lteNPSS(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
NSubframeOptional5 (default), integerSubframe number. Because the NPSS is defined only for subframe 5, the function returns an empty array for any value of this field other than 5. This behavior enables resource grid indexing for any subframe 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 NPSS values for all cell RS locations.

Data Types: struct

Output Arguments

collapse all

NPSS 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 5, then the function returns this output as an empty array.

Data Types: double

Version History

Introduced in R2019a