Documentation

lteDLResourceGrid

Downlink subframe resource array

Syntax

  • grid = lteDLResourceGrid(enb)
    example
  • grid = lteDLResourceGrid(enb,p)
    example

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 Data Structures.

example

grid = lteDLResourceGrid(enb,p) uses p returns a resource array, where p 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 Empty Resource Array

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)
Warning: Using default value for parameter field CyclicPrefix (Normal) 

ans =

   600    14     2

Create DL Subframe Resource Array Using Optional Antenna Plane Input

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 =

   300    12     4

Input Arguments

collapse all

enb — Cell-wide settingsstructure

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

NDLRB — Number of downlink resource blocksscalar integer from 6 to 110

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

Data Types: double

CyclicPrefix — Cyclic prefix length'Normal' (default) | optional | 'Extended'

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

Data Types: char

CellRefP — Number of cell-specific reference signal antenna ports1 | 2 | 4

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

Data Types: double

Data Types: struct

p — Number of antenna planespositive scalar integer

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

Data Types: double

Output Arguments

collapse all

grid — Empty downlink resource grid3-D numeric array

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

Introduced in R2014a

Was this topic helpful?