メインコンテンツ

wlanVHTSIGBBitRecover

Recover bits from equalized VHT-SIG-B OFDM symbols

Since R2026a

Description

bits = wlanVHTSIGBBitRecover(sym,noiseEst,csi,cfg) recovers bits from the equalized very high-throughput signal B (VHT-SIG-B) OFDM symbols sym.

example

Examples

collapse all

Create a VHT configuration object with default parameters. Generate a time-domain waveform for the configuration.

cfg = wlanVHTConfig;
tx = wlanWaveformGenerator([1;0;0;1],cfg);

Pass the waveform through an AWGN channel with a signal-to-noise ratio of 15 dB.

rx = awgn(tx,15);

Get indices for the legacy long training field (L-LTF). Use the indices to isolate the part of the received waveform that corresponds to the L-LTF.

indLLTF = wlanFieldIndices(cfg,"L-LTF");
rxLLTF = rx(indLLTF(1):indLLTF(2),:);

Demodulate the legacy long training field (L-LTF). Use the demodulated symbols to estimate the noise at the L-LTF.

demodLLTF = wlanVHTDemodulate(rxLLTF,"L-LTF",cfg);
noiseEst = wlanLLTFNoiseEstimate(demodLLTF);

Demodulate the very high-throughput long training field (VHT-LTF). Use the demodulated symbols to estimate the channel at the VHT-LTF.

indVHTLTF = wlanFieldIndices(cfg,"VHT-LTF");
rxVHTLTF = rx(indVHTLTF(1):indVHTLTF(2),:);
demodVHTLTF = wlanVHTDemodulate(rxVHTLTF,"VHT-LTF",cfg);
chEst = wlanVHTLTFChannelEstimate(demodVHTLTF,cfg);

Isolate the part of the received waveform that corresponds to the VHT-SIG-B field.

field = "VHT-SIG-B";
indSIGB = wlanFieldIndices(cfg,field);
rxSIGB = rx(indSIGB(1):indSIGB(2),:);

Demodulate and equalize the VHT-SIG-B field, returning channel state information.

sym = wlanVHTDemodulate(rxSIGB,field,cfg);
[sym,csi] = wlanVHTEqualize(sym,chEst,noiseEst,cfg,field);

Use the noise estimate and channel state information to recover the VHT-SIG-B bits.

bits = wlanVHTSIGBBitRecover(sym,noiseEst,csi,cfg);

Recover the transmitted bits from the configuration. Verify that the recovered bits match the transmitted bits.

[~,txBits] = wlanVHTSIGB(cfg);
disp(isequal(bits,txBits))
   1

Input Arguments

collapse all

Equalized VHT-SIG-B OFDM symbols, specified as a complex column vector. The length of the vector is NSC, where NSC is the number of subcarriers. NSC can be the number of data subcarriers, or the combined total of data and pilot subcarriers. The values depend on the channel bandwidth you specify in cfg.

Channel Bandwidth (MHz)Number of Data SubcarriersCombined Total of Data and Pilot Subcarriers
20 5256
40 108114
80 234242
160 468484

Data Types: double | single
Complex Number Support: Yes

Noise estimate, specified as a nonnegative real scalar.

Channel state information (CSI), specified as a real column vector. The vector length must be equal to the length of the sym input.

Data Types: double | single

Format configuration, specified as a wlanVHTConfig object.

Output Arguments

collapse all

Recovered VHT-SIG-B bits, returned as a binary column vector. The length of the vector depends on the channel bandwidth you specify in cfg.

Data Types: int8

More About

collapse all

References

[1] IEEE Std 802.11-2020 (Revision of IEEE Std 802.11-2016). “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.

Extended Capabilities

expand all

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

Version History

Introduced in R2026a


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