Main Content

showAllocation

Resource unit (RU) allocation

Description

example

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

showAllocation(cfg,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)

Figure RU Assignment and Occupied Subcarriers contains an axes object. The axes object contains 13 objects of type patch, line, text.

Input Arguments

collapse all

Format configuration, specified as an object of type wlanEHTMUConfig, wlanHEMUConfig, wlanHESUConfig, or wlanHETBConfig.

  • To show the RU allocation for an EHT multi-user (EHT MU) transmission, specify this input as a wlanEHTMUConfig object.

  • 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 multi-user (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.

Version History

Introduced in R2019b

expand all