getNumPostFECPaddingBits
Description
Examples
Calculate Number of Post-FEC Padding Bits for HE Transmissions
This example shows how to calculate the required number of post-forward-error-correction (post-FEC) padding bits for high-efficiency (HE) WLAN transmissions.
Calculate Number of Post-FEC Padding Bits for HE SU Transmission
Parameterize an HE single-user (HE SU) transmission by creating a wlanHESUConfig
object.
cfgHESU = wlanHESUConfig('ChannelBandwidth','CBW80','MCS',7);
Calculate the number of post-FEC padding bits required for waveform generation.
n = getNumPostFECPaddingBits(cfgHESU)
n = 3000
Calculate Number of Post-FEC Padding Bits for HE MU Transmission
Parameterize an HE multi-user (HE MU) transmission by creating a wlanHEMUConfig
object.
cfgHEMU = wlanHEMUConfig(40);
Calculate the number of post-FEC padding bits required for waveform generation.
n = getNumPostFECPaddingBits(cfgHEMU)
n = 1×5
18 18 36 18 78
Calculate Number of Post-FEC Padding Bits for HE TB Transmission
Parameterize an HE trigger-based (HE TB) transmission by creating a wlanHETBConfig
object.
cfgHETB = wlanHETBConfig('ChannelBandwidth','CBW40','MCS',6, ... 'NumTransmitAntennas',4,'PreFECPaddingFactor',3);
Calculate the number of post-FEC padding bits required for waveform generation.
n = getNumPostFECPaddingBits(cfgHETB)
n = 324
Input Arguments
cfg
— HE transmission parameters
wlanHEMUConfig
object | wlanHESUConfig
object | wlanHETBConfig
object
HE transmission parameters specified as one of these objects.
wlanHEMUConfig
— HE MU transmissionwlanHESUConfig
— HE SU transmissionwlanHETBConfig
— HE TB transmission
Output Arguments
n
— Required number of post-FEC padding bits
binary-valued scalar | binary-valued column vector
Required number of post-FEC padding bits, returned as one of these values.
A binary-valued scalar for single-user transmissions
A binary-valued column vector of length Nusers for multi-user transmissions, where Nusers is the number of users in the transmission. In this case, the kth entry is the required number of post-FEC padding bits for the kth user in the transmission.
Data Types: double
| int8
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2020b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)