Main Content

showAllocation

Show resource unit (RU) allocation

Description

example

showAllocation(cfgHE) shows the RU allocation in a high-efficiency (HE) WLAN transmission parameterized by HE format configuration cfgHE. You can get more information about an RU by clicking on it.

showAllocation(cfgHE,ax) specifies ax, the axes that the function uses to plot the allocation.

Examples

collapse all

Create a configuration object for an HE MU transmission with a channel bandwidth of 40 MHz.

AllocationIndex = [100 98];
cfgHE = wlanHEMUConfig(AllocationIndex);

Show the RU allocation in the resultant transmission. This configuration object specifies seven users across four RUs.

showAllocation(cfgHE)

Input Arguments

collapse all

HE format configuration, specified as an object of type wlanHEMUConfig, wlanHESUConfig, or wlanHETBConfig.

  • To show the RU allocation for an HE single-user (HE SU) or HE extended-range SU (HE ER SU) transmission, specify this input as a wlanHESUConfig object.

  • To show the RU allocation for an HE multiuser (HE MU) transmission, specify this input as a wlanHEMUConfig object.

  • To show the RU allocation for an HE trigger-based (HE TB) transmission, specify this input as a wlanHETBConfig object.

Plot axes, specified as an Axes object. For more information, see Axes Properties. If you do not specify this input, the showAllocation object function shows the RU allocation plotted on the default axes.

Introduced in R2019b