lteNPSS
Generate NPSS symbols for subframe
Syntax
Description
Examples
Generate NPSS Symbols
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
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 |
NSubframe | Optional | 5 (default), integer | Subframe 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 |
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 NPSS values for all cell RS locations.
Data Types: struct
Output Arguments
sym
— NPSS symbols for a subframe
complex-valued column vector | empty array
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
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 (한국어)