lteNSSS

Generate narrowband secondary synchronization signal symbols for subframe

Description

example

sym = lteNSSS(enb) returns narrowband secondary synchronization (NSSS) symbols sym for the input cell-wide settings specified by enb.

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, lteNSSS returns an empty array for any value of NSubframe 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, lteNSSS returns an empty vector for odd values of NFrame. This behavior enables resource grid indexing for any subframe number and any frame number. If the NSubframe and NFrame fields are unspecified, lteNSSS assumes NFrame takes its default value.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

Specify the NCellID and CellRefP fields to exclude cell reference signal (RS) locations. If you do not specify both the NCellID and CellRefP fields, all cell RS locations are included.

Data Types: struct

Output Arguments

collapse all

NSSS symbols, returned as a complex-valued column vector. If you specify the NSubframe field as any value other than 9 or the NFrame field as an odd value, then lteNSSS returns sym as an empty array.

Introduced in R2019a