Main Content

wlanLLTFDemodulate

Demodulate L-LTF waveform

Description

y = wlanLLTFDemodulate(x,cbw) returns the demodulated L-LTF1 waveform given time-domain input signal x and channel bandwidth cbw.

example

y = wlanLLTFDemodulate(x,cfg) returns the demodulated L-LTF given the format configuration object, cfg.

Note

When you specify cfg as a wlanNonHTConfig object, the function supports demodulation only of OFDM-modulated waveforms.

example

y = wlanLLTFDemodulate(___,symOffset) specifies the OFDM symbol offset, symOffset, using any of the arguments from the previous syntaxes.

example

Examples

collapse all

Create a non-HT configuration object and use it to generate an L-LTF signal.

cfg = wlanNonHTConfig;
txSig = wlanLLTF(cfg);

Pass the L-LTF signal through an AWGN channel. Demodulate the received signal.

rxSig = awgn(txSig,15,'measured');
y = wlanLLTFDemodulate(rxSig,'CBW20');

Create a VHT configuration object and use it to generate an L-LTF signal.

cfg = wlanVHTConfig;
txSig = wlanLLTF(cfg);

Pass the L-LTF signal through an AWGN channel.

rxSig = awgn(txSig,5);

Demodulate the received L-LTF using the information from the wlanVHTConfig object.

y = wlanLLTFDemodulate(rxSig,cfg);

Set the channel bandwidth to 40 MHz and the OFDM symbol offset to 1. This way, the FFT takes place after the guard interval.

cbw = 'CBW40';
ofdmSymOffset = 1;

Create an HT configuration object and use it to generate an L-LTF signal.

cfg = wlanHTConfig('ChannelBandwidth',cbw);
txSig = wlanLLTF(cfg);

Pass the L-LTF signal through an AWGN channel.

rxSig = awgn(txSig,10);

Demodulate the received L-LTF using a custom OFDM symbol offset.

y = wlanLLTFDemodulate(rxSig,'CBW40',ofdmSymOffset);

Input Arguments

collapse all

Time-domain input signal corresponding to the L-LTF of the PPDU, specified as an NS-by-NR vector or matrix. NS is the number of samples and NR is the number of receive antennas.

NS is proportional to the channel bandwidth. The time-domain waveform consists of two symbols.

ChannelBandwidthNS
'CBW5', 'CBW10', 'CBW20'160
'CBW40'320
'CBW80'640
'CBW160'1280
'CBW320'2560

Data Types: single | double
Complex Number Support: Yes

Channel bandwidth, specified as one of these values.

  • 'CBW5' — Channel bandwidth of 5 MHz

  • 'CBW10' — Channel bandwidth of 10 MHz

  • 'CBW20' — Channel bandwidth of 20 MHz

  • 'CBW40' — Channel bandwidth of 40 MHz

  • 'CBW80' — Channel bandwidth of 80 MHz

  • 'CBW160' — Channel bandwidth of 160 MHz

  • 'CBW320' — Channel bandwidth of 320 MHz

Data Types: char | string

Format information, specified as a WLAN configuration object. To create these objects, see wlanNonHTConfig, wlanHTConfig, or wlanVHTConfig.

OFDM symbol sampling offset, as a fraction of the cyclic prefix length, specified as a scalar in the interval [0, 1].

The value that you specify indicates the start location for OFDM demodulation relative to the beginning of the cyclic prefix.

Example: 0.45

Data Types: single | double

Output Arguments

collapse all

Demodulated L-LTF signal, returned as an NST-by-NSYM-by-NR array. NST is the number of occupied subcarriers, NSYM is the number of OFDM symbols, and NR is the number of receive antennas. For the L-LTF, NSYM is always 2.

NST varies with channel bandwidth.

ChannelBandwidthNumber of Occupied Subcarriers (NST)
'CBW20', 'CBW10', 'CBW5'52
'CBW40'104
'CBW80'208
'CBW160'416
'CBW320'832

More About

collapse all

References

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

[2] Gast, Matthew S. 802.11n: A Survival Guide. Sebastopol, CA: O’Reilly Media Inc., 2012, p. 120.

Extended Capabilities

expand all

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

Version History

Introduced in R2015b

expand all


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