Generate NSSS symbols for subframe
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);
enb
— Cell-wide settingsCell-wide settings, specified as a structure containing these fields:
Name | Required or Optional | Values | Description | Data Types |
---|---|---|---|---|
OperationMode | Optional | 'Standalone' (default),
'Inband-SamePCI' ,
'Inband-DifferentPCI' ,
'Guardband' | NB-IoT operation mode, specified as one of these values:
| char ,
string |
NNCellID | Required | Integer in the interval [0, 503] | Narrowband PCI | double |
NSubframe | Optional | 9 (default), integer | Subframe 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 |
NFrame | Optional | 0 (default), integer | Frame 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 |
NCellID | Required when you specify
OperationMode as
'Inband-SamePCI' or
'Inband-DifferentPCI' | Integer in the interval [0, 503] | PCI | double |
CellRefP | Required when you specify
OperationMode as
'Inband-SamePCI' or
'Inband-DifferentPCI' | 1 , 2 ,
4 | Number of cell-specific antenna ports | double |
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
sym
— NSSS symbols for subframeNSSS symbols for a subframe, 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.
You have a modified version of this example. Do you want to open this example with your edits?