Main Content

lteDLResourceGrid

Downlink subframe resource array

Description

example

grid = lteDLResourceGrid(enb) returns an empty resource array generated from the cell-wide-specific settings structure enb. For more information on the resource grid and the multidimensional array used to represent the resource elements for one subframe across all configured antenna ports, see Represent Resource Grids.

example

grid = lteDLResourceGrid(enb,p) accepts an additional input, p, which directly specifies the number of antenna planes in the array. In this syntax, CellRefP is not required as a structure field of enb.

Examples

collapse all

Create an empty resource array representing the resource elements for 10MHz bandwidth, one subframe, and two antennas.

rgrid = lteDLResourceGrid(struct('NDLRB',50,'CellRefP',2));
size(rgrid)
ans = 1×3

   600    14     2

Create an empty resource array that represents the downlink resource elements for 5 MHz bandwidth, one subframe, extended cyclic prefix, and four antenna ports.

cfg = struct('NDLRB',25,'CyclicPrefix','Extended');
p = 4;
griddl = lteDLResourceGrid(cfg,p);
size(griddl)
ans = 1×3

   300    12     4

Input Arguments

collapse all

Cell-wide settings, specified as a structure having the following fields.

Number of downlink resource blocks, specified as a scalar integer from 6 to 110.

Data Types: double

Cyclic prefix length, specified as 'Normal' or 'Extended'.

Data Types: char | string

Number of cell-specific reference signal antenna ports, specified as 1, 2, or 4.

Data Types: double

Data Types: struct

Number of antenna planes, specified as a positive scalar integer.

Data Types: double

Output Arguments

collapse all

Empty downlink resource grid, returned as a 3-D numeric array. This array is used to represent the resource elements for one subframe across all configured antenna ports. It has dimensions of:

  • When the function has a single input argument, enb, an N-by-M-by-CellRefP array is returned. N is the number of subcarriers (12×NDLRB). M is the number of OFDM symbols in a subframe (14 for normal cyclic prefix and 12 for extended cyclic prefix). CellRefP is the number of transmit antenna ports.

  • When the function has two input arguments, enb and p, an N-by-M-by-p array is returned. p is the number of antenna planes.

Data Types: double

Version History

Introduced in R2014a