lteCSIRSIndices
CSI-RS resource element indices
Description
Examples
Generate Column Vector of CSI-RS RE Indices
Generate a column vector of CSI-RS resource element linear indices for ports 15 to 22 of a 10 MHz downlink subframe 0 resource grid.
Create a 10 MHz, downlink, subframe 0 configuration parameter structure. Set the number of antenna ports to 8, the CSI-RS configuration to 0, and Icsi-rs
to 5.
rmc = lteRMCDL('R.2');
rmc.CSIRefP = 8;
rmc.CSIRSConfig = 0;
rmc.CSIRSPeriod = 5;
The 8 antenna ports are ports 15 to 22. The variable Icsi-rs
= 5 is equivalent to a [Tcsi-rs Dcsi-rs]
setting of [10 0]
.
csirs1 = lteCSIRSIndices(rmc); csirs1(1:5)
ans = 5x1 uint32 column vector
3010
3022
3034
3046
3058
Generate Matrix of CSI-RS RE Indices
This example shows how to generate a matrix of CSI-RS RE linear indices for ports 15 to 22 of a 10 MHz downlink subframe 0 resource grid.
Create a 10 MHz, downlink, subframe 0 configuration parameter structure. Set the number of antenna ports to 8, the CSI-RS configuration to 0, and Icsi-rs
to 5.
rmc = lteRMCDL('R.2');
rmc.CSIRefP = 8;
rmc.CSIRSConfig = 0;
rmc.CSIRSPeriod = 5;
Generate a matrix of linear indices with eight columns.
csirs2 = lteCSIRSIndices(rmc,'mat');
size(csirs2)
ans = 1×2
88 8
Generate Used and Unused CSI-RS RE Indices
This example shows how to generate both used and unused CSI-RS RE linear indices for ports 15 to 22 of a 10 MHz downlink subframe 0 resource grid.
Create a 10 MHz, downlink, subframe 0 configuration parameter structure. Set the number of antenna ports to 8, the CSI-RS configuration to 0, and Icsi-rs
to 5.
rmc = lteRMCDL('R.2');
rmc.CSIRefP = 8;
rmc.CSIRSConfig = 0;
rmc.CSIRSPeriod = 5;
The 8 antenna ports are ports 15 to 22. The variable Icsi-rs
= 5 is equivalent to a [Tcsi-rs Dcsi-rs]
setting of [10 0]
.
Generate both used and unused CSI-RS RE in all ports.
csirs3 = lteCSIRSIndices(rmc,'rs+unused');
csirs3(1:5)
ans = 5x1 uint32 column vector
3010
3022
3034
3046
3058
Input Arguments
enb
— eNodeB cell-wide settings
structure
eNodeB cell-wide settings, specified as a structure containing these parameter fields:
Parameter Field | Required or Optional | Values | Description |
---|---|---|---|
NDLRB | Required | Scalar integer from 6 to 110 | Number of downlink resource blocks () |
NSubframe | Required | 0 (default), nonnegative scalar integer | Subframe number |
NFrame | Optional | 0 (default), nonnegative scalar integer | Frame number |
CellRefP is
only used when the Indexing format option
for indexing generation is'rs+unused' | |||
CellRefP | Optional | 1 (default), 2, 4 | Number of cell-specific reference signal (CRS) antenna ports |
CyclicPrefix | Optional |
| Cyclic prefix length |
DuplexMode | Optional |
| Duplexing mode, specified as either:
|
The following apply when | |||
TDDConfig | Optional | 0, 1 (default), 2, 3, 4, 5, 6 | Uplink–downlink configuration |
SSC | Optional | 0 (default), 1, 2, 3, 4, 5, 6, 7, 8, 9 | Special subframe configuration (SSC) |
CSIRSPeriod | Optional |
See note. | CSI-RS subframe configurations for one or more CSI-RS resources. Multiple CSI-RS resources can be configured from a single common subframe configuration or from a cell array of configurations for each resource. |
The following CSI-RS resource
parameters apply only when | |||
CSIRSConfig | Required | Nonnegative scalar integer | Array CSI-RS configuration indices. See TS 36.211, Table 6.10.5.2-1. |
CSIRefP | Required | 1 (default), 2, 4, 8 | Array of number of CSI-RS antenna ports |
ZeroPowerCSIRSPeriod | Optional |
See note. | Zero power CSI-RS subframe configurations for one or more zero power CSI-RS resource configuration index lists. Multiple zero power CSI-RS resource lists can be configured from a single common subframe configuration or from a cell array of configurations for each resource list. |
The following zero power
CSI-RS resource parameter is required only if one, or more of the
other zero power subframe configurations are set to any value other
than | |||
ZeroPowerCSIRSConfig | Required | 16-bit bitmap character vector or string scalar (truncated if
not 16 bits or | Zero power CSI-RS resource configuration index lists (TS 36.211
Section 6.10.5.2). Specify each list as a 16-bit bitmap character vector or string scalar (if
less than 16 bits, then |
Note:
|
opts
— Index generation options
character vector | cell array of character vectors | string array
Index generation options, specified as a character vector, cell
array of character vectors, or string array. For convenience, you can specify several options as
a single character vector or string scalar by a space-separated list of values placed inside the
quotes. Values for opts
when specified as a character vector include (use
double quotes for string):
Option | Values | Description |
---|---|---|
Indexing style |
| Style for the returned indices, specified as one of the following options.
NRE is the number of resource elements. |
Index base |
| Base value of the returned indices. Specify
|
Indexing format |
| Format for the returned locations, specified as one of the following options.
|
Note Returned indices specify the CSI-RS resource values within an
N-by-M-by-antennas array. Where the number of antennas is |
Example: 'ind rsonly'
, "ind rsonly"
,
{'ind','rsonly'}
, or
["ind","rsonly"]
specify the same formatting
options.
Data Types: char
| string
| cell
Output Arguments
ind
— Channel state information reference signal (CSI-RS) indices
column vector (default) | matrix
Channel state information reference signal (CSI-RS) indices, returned as a vector or matrix. See lteCSIRSIndices Processing.
Data Types: uint32
More About
lteCSIRSIndices Processing
The lteCSIRSInidices
function
supports the creation of multiple non-zero power resources and zero
power CSI-RS.
By default the output indices as re returned as a column vector in one-based linear indexing form, that can directly index elements in an N-by-M-by-max(CSIRefP) array. These indices represent the subframe grid across max(CSIRefP) antenna ports (p = 15,...,22). Other index representations can also be created as well as whether the output includes the RE that should be empty in a specific port because of CSI-RS transmissions in another port. These indices are ordered as the complex CSI-RS symbols should be mapped and do not include any elements allocated to PBCH, PSS, and SSS. You can define the CSI-RS subframe configuration schedule as required for the CSI-RS resources. If the subframe contains no CSI-RS, then an empty vector is returned. When multiple non-zero power and zero power CSI-RS are returned, the indices for the zero power CSI-RS appear first in the concatenated output, followed by the indices for the ordered set of CSI-RS resources.
References
[1] 3GPP TS 36.211. “Evolved Universal Terrestrial Radio Access (E-UTRA); Physical Channels and Modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network. URL: https://www.3gpp.org.
Version History
Introduced in R2014a
See Also
lteCSIRS
| lteCellRSIndices
| lteDMRSIndices
| ltePRSIndices
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 (한국어)