Documentation

wlanSegmentParseSymbols

Segment-parse data subcarriers

Syntax

y = wlanSegmentParseSymbols(sym,cbw)

Description

example

y= wlanSegmentParseSymbols(sym,cbw)performs the inverse operation of the segment deparsing on the inputsymdefined in IEEE®802.11ac™-2013, Section 22.3.10.9.3, whencbwis'CBW16'or'CBW160'.

Note

Segment parsing of the data subcarriers applies only when the channel bandwidth is either 16 MHz or 160 MHz, and is bypassed for the remaining channel bandwidths (as stated in the aforementioned section of IEEE802.11ac-2013). Therefore, whencbwis any accepted value other than'CBW16'or'CBW160',wlanSegmentParseSymbolsreturns the input unchanged.

Examples

collapse all

Segment-deparse and segment-parse the symbols in four OFDM symbols for a VHT configuration with a channel bandwidth of 160 MHz and two spatial streams.

Define the input parameters. Since the channel bandwidth is 160 MHz, set the number of data subcarriers to 468 and the number of frequency segments to two.

chanBW ='CBW160'; numSD = 468; numSym = 4; numSS = 2; numSeg = 2;

Create the input sequence of symbols.

data = randi([0 1],numSD/numSeg,numSym,numSS,numSeg);

Segment-deparse the symbols into data subcarriers. The first dimension of the parsed output accounts for the total number of data subcarriers.

deparsedData = wlanSegmentDeparseSymbols(data,chanBW); size(deparsedData)
ans =1×3468 4 2

Segment-parse the symbols into data subcarriers. The size of the output is equal to the size of the original sequence.

segments = wlanSegmentParseSymbols(deparsedData,chanBW); size(segments)
ans =1×4234 4 2 2

Input Arguments

collapse all

Input sequence of equalized data to be segmented, specified as anNSD-by-NSYM-by-NSSarray, where:

  • NSDis the number of data subcarriers.

  • NSYMis the number of OFDM symbols.

  • NSSis the number of spatial streams.

Data Types:double
Complex Number Support:Yes

Channel bandwidth in MHz, specified as'CBW1','CBW2','CBW4','CBW8','CBW16','CBW20','CBW40','CBW80', or'CBW160'.

Example:'CBW160'

Data Types:char|string

Output Arguments

collapse all

Frequency segments, specified as an (NSD/NSEG)-by-NSYMby-NSS-by-NSEGarray, where:

  • NSDis the number of data subcarriers.

  • NSEGis the number of segments. Whencbwis'CBW16'or'CBW160',NSEGis 2. Otherwise it is 1.

  • NSYMis the number of OFDM symbols.

  • NSSis the number of spatial streams.

Extended Capabilities

Introduced in R2017b

Was this topic helpful?