Documentation

wlanStreamDeparse

Stream-deparse binary input

Syntax

y = wlanStreamDeparse(bits,numES,numCBPS,numBPSCS)

Description

example

y= wlanStreamDeparse(bits,numES,numCBPS,numBPSCS)deparses the spatial streams specified inbitsto form encoded streams. This operation is the inverse of the one defined in IEEE®802.11™-2012 Section 20.3.11.8.2 and IEEE 802.11ac™-2013 Section 22.3.10.6.

Examples

collapse all

Stream-deparse five OFDM symbols with two spatial streams into one encoded stream.

Define the input parameters. Set the number of coded bits per OFDM symbol to 432, the number of coded bits per subcarrier per spatial stream to 2, the number of encoded streams to 1, the number of spatial streams to 2 and the number of OFDM symbols to 5.

numCBPS = 432; numBPSCS = 2; numES = 1; numSS = 2; numSym = 5;

Create a parsed input of hard bits.

parsed = randi([0 1],numCBPS/numSS*numSym,numSS)
parsed =1080×21 0 1 1 0 1 1 1 1 1 0 1 0 1 1 0 1 1 1 1 ⋮

Stream-deparse the bits.

deparsed = wlanStreamDeparse(parsed,numES,numCBPS,numBPSCS)
deparsed =2160×11 0 1 1 0 1 1 1 1 1 ⋮

Input Arguments

collapse all

Input sequence of stream-parsed data, specified as a (NCBPSS×NSYM)-by-NSSmatrix, where:

  • NCBPSSis the number of coded bits per OFDM symbol per spatial stream.

  • NSYMis the number of OFDM symbols.

  • NSSis the number of spatial streams.

Data Types:double|int8

Number of encoded streams, specified as a integer from 1 to 9, or 12.

Data Types:double

Number of coded bits per OFDM symbol, specified as an integer equal to (NBPSCS×NSS×NSD), where:

  • NBPSCSis the number of coded bits per subcarrier per spatial stream. SeenumBPSCS.

  • NSSis the number of spatial streams.

  • NSDis the number of complex data numbers per frequency segment, specified as 24, 52, 108, 234, or 468.

Data Types:double

Number of coded bits per subcarrier per spatial stream, specified as 1, 2, 4, 6, or 8.

Data Types:double

Output Arguments

collapse all

Stream-deparsed output data, returned as an (NCBPS×NSYM)-by-NESmatrix, where:

  • NCBPSis the number of coded bits per OFDM symbol.

  • NSYMis the number of OFDM symbols.

  • NESis the number of encoded streams.

Extended Capabilities

See Also

Introduced in R2017b

Was this topic helpful?