Main Content

wlanHTSTF

Generate HT-STF waveform

Description

y = wlanHTSTF(cfg) generates an HT-STF1 time-domain waveform for an HT-mixed transmission parameterized by cfg.

example

y = wlanHTSTF(cfg,OversamplingFactor=osf) generates an oversampled HT-mixed waveform with the specified oversampling rate. For more information about oversampling, see FFT-Based Oversampling.

Examples

collapse all

Create a wlanHTConfig object with a 40 MHz bandwidth.

cfg = wlanHTConfig('ChannelBandwidth','CBW40');

Generate an HT-STF. The function returns a complex output of 160 samples.

stf = wlanHTSTF(cfg);
size(stf)
ans = 1×2

   160     1

Change the channel bandwidth to 20 MHz and create a new HT-STF.

cfg.ChannelBandwidth = 'CBW20';
stf = wlanHTSTF(cfg);

Verify that the number of samples has been halved due to the bandwidth reduction.

size(stf)
ans = 1×2

    80     1

Input Arguments

collapse all

Transmission parameters, specified as a wlanHTConfig object.

Oversampling factor, specified as a scalar greater than or equal to 1. The oversampled cyclic prefix length must be an integer number of samples. The resultant inverse fast Fourier transform (IFFT) length must be even.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Output Arguments

collapse all

HT-STF waveform, returned as an NS-by-NT matrix. NS is the number of samples, and NT is the number of transmit antennas.

Data Types: double
Complex Number Support: Yes

More About

collapse all

Algorithms

collapse all

References

[1] IEEE Std 802.11™-2012 IEEE Standard for Information technology — Telecommunications and information exchange between systems — Local and metropolitan area networks — Specific requirements — Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2015b


1 IEEE® Std 802.11-2012 Adapted and reprinted with permission from IEEE. Copyright IEEE 2012. All rights reserved.