lteNSSS
Generate NSSS symbols for subframe
Syntax
Description
Examples
Generate NSSS Symbols
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
enb
— Cell-wide settings
structure
Cell-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, 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 |
NFrame | Optional | 0 (default), integer | Frame 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 |
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
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
sym
— NSSS symbols for subframe
complex-valued column vector | empty array
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
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)