Main Content

lteULResourceGridSize

Uplink subframe resource array size

Description

d = lteULResourceGridSize(ue) returns the size of the uplink resource array generated from UE-specific settings 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

d = lteULResourceGridSize(ue,p) also specifies the number of antenna planes in the array.

example

Examples

collapse all

Configure UE-specific settings.

cfgul = struct(NULRB=6,NTxAnts=2,CyclicPrefixUL="Normal");

Get the uplink subframe resource array size.

d = lteResourceGridSize(cfgul);

Generate an uplink resource array of the appropriate size.

gridul = zeros(d);

Configure UE-specific settings.

ue = struct(NULRB=25,CyclicPrefixUL="Normal");

Get the uplink subframe resource array size for the specified configuration and four antenna planes.

p = 4;
d = lteResourceGridSize(ue,p);

Create a resource array of the appropriate size.

gridul = zeros(d);

Input Arguments

collapse all

UE-specific settings, specified as a structure containing these fields.

Number of uplink resource blocks (RBs), specified as an integer in the interval [6, 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. If you use the syntax containing the p input, the function ignores this field and uses the p input value instead.

Data Types: double

Data Types: struct

Number of antenna planes in the uplink resource array, specified as a positive integer.

Data Types: double

Output Arguments

collapse all

Uplink resource array size, returned as a three-element row vector of the form [N M P].

  • N is the number of subcarriers, which is given by 12 × NRB, where NRB is the number of uplink RBs.

  • 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.

Data Types: double

Version History

Introduced in R2014a