Documentation

lteULResourceGrid

Uplink subframe resource array

Syntax

  • grid = lteULResourceGrid(ue)
    example
  • grid = lteULResourceGrid(ue,p)
    example

Description

example

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

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.

Examples

collapse all

Create UL Resource Array

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

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

Create Uplink Subframe Resource Array Using Optional Antenna Plane Input

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 =

   300    12     4

Input Arguments

collapse all

ue — UE-specific settingsscalar structure

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

NULRB — Number of uplink (UL) resource blocks (RBs)scalar integer from 6 to 110

Number of uplink (UL) resource blocks (RBs), specified as a scalar integer from 6 to 110.

Data Types: double

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

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

Data Types: char

NTxAnts — Number of transmission antennas1 (default) | optional | 2 | 4

Number of transmission antennas, specified as 1, 2, or 4.

Data Types: double

Data Types: struct

p — Number of antenna planes in the return arrayscalar integer

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

Data Types: double

Output Arguments

collapse all

grid — Empty resource gridmultidimensional numeric array

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

Introduced in R2014a

Was this topic helpful?