lteNPSSIndices
Generate NPSS RE indices for subframe
Description
Examples
Generate zero-based NPSS RE indices for antenna port 2000.
Initialize cell-wide settings by specifying the operation mode, number of cell-specific RS antenna ports, physical layer cell identity, and subframe number.
enb.OperationMode = 'Inband-SamePCI'; % Operation mode enb.CellRefP = 1; % Number of cell-specific RS antenna ports enb.NCellID = 2; % Physical layer cell identity enb.NSubframe = 5; % Subframe number
Specify the antenna port and generate the zero-based NPSS RE indices.
port = 0;
ind = lteNPSSIndices(enb,port,'0based');Input Arguments
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
Antenna port, specified as 0 or 1,
corresponding to antenna port 2000 or 2001, respectively.
Data Types: double
Output format and index base of generated indices, specified as one of these forms.
'formatbase'"formatbase"{'format','base'}["format","base"]
Where format and base are
defined in this table.
| Option | Values | Description |
format | 'ind' (default),
'sub' | Output format of generated indices To return
the indices as a column vector, specify this option as
To return the indices
as an NRE-by-3 matrix,
where NRE is the
number of REs, specify this option as |
base | '1based' (default),
'0based' | Index base To generate indices whose first
value is |
Example: 'ind 0based', "ind 0based",
{'ind','0based'}, and
["ind","0based"] specify the same output
options.
Data Types: char | string | cell
Output Arguments
NPSS RE indices for a subframe, returned as a complex-valued array. The
array dimensions depend on the format options you specify in
opts. To return ind as a
column vector, specify 'ind' in the
opts input. To return ind as
an NRE-by-3 matrix, specify
'sub' in the opts input. If you
specify the NSubframe field of the
enb input as a value other than
5, the function returns this output as an empty
array.
Data Types: uint32
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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)