Main Content

lteULResourceGrid

Uplink subframe resource array

Description

grid = lteULResourceGrid(ue) returns an empty resource array generated from the UE-specific settings structure ue. 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 = lteULResourceGrid(ue,p) returns a resource array, where p directly specifies the number of antenna planes in the array. In this case, NTxAnts is not required as a structure field of ue.

example

Examples

collapse all

Create an empty resource array representing the resource elements for 10 MHz bandwidth.

reGrid = lteULResourceGrid(struct('NULRB',50,'CyclicPrefixUL','Normal','NTxAnts',1));

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

cfg = struct('NULRB',25,'CyclicPrefixUL','Extended');
p = 4;
gridul = lteULResourceGrid(cfg,p);
size(gridul)
ans = 1×3

   300    12     4

Input Arguments

collapse all

UE-specific settings, specified as a scalar structure with the following fields.

Number of uplink (UL) resource blocks (RBs), 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 transmission antennas, specified as 1, 2, or 4.

Data Types: double

Data Types: struct

Number of antenna planes in the return array, specified as a scalar integer.

Data Types: double

Output Arguments

collapse all

Empty resource grid, returned as an N-by-M-by-P numeric array. N is the number of subcarriers (12×NULRB). M is the number of SC-FDMA symbols in a subframe, 14 for normal cyclic prefix and 12 for extended cyclic prefix. P is the number of transmission antennas. grid is used to represent the resource elements for one subframe across all configured antenna ports.

Data Types: double

Version History

Introduced in R2014a