Documentation

lteLayerMap

Layer mapping of modulated and scrambled codewords

Syntax

  • out = lteLayerMap(in,nu)
    example
  • out = lteLayerMap(in,nu,txscheme)
    example
  • out = lteLayerMap(chs,in)

Description

example

out = lteLayerMap(in,nu) performs layer mapping of codeword or codewords, in, onto nu layers. It carries out the layer mapping according to TS 36.211 [1], Sections 5.3.2A and 6.3.3. The function returns an M-by-nu matrix consisting of the modulation symbols for transmission upon nu layers. These transmission layers are formed by multiplexing the modulation symbols from either one or two codewords. The overall operation of the layer mapper is the transpose of that defined in the specification. In other words, the symbols for layers lie in columns rather than rows.

example

out = lteLayerMap(in,nu,txscheme) performs layer mapping using the transmission scheme, txscheme.

out = lteLayerMap(chs,in) performs layer mapping of codeword or codewords, in, according to the parameters in the channel transmission configuration structure, chs.

Examples

collapse all

Map Codeword for Spatial Multiplexing

Map one codeword to four layers for the spatial multiplexing transmission scheme.

When no transmission scheme is specified, the default layer mapping is spatial multiplexing.

out = lteLayerMap(ones(40,1),4);
sizeOut = size(out)
sizeOut =

    10     4

Map Codeword for Transmit Diversity

Map one codeword to four layers for the transmit diversity transmission scheme.

out = lteLayerMap(ones(40,1),4,'TxDiversity');
sizeOut = size(out)
sizeOut =

    10     4

Input Arguments

collapse all

in — Scrambled and modulated codeword or codewordsnumeric vector | cell array of numeric vectors

Scrambled and modulated codeword or codewords, specified as a numeric vector or a cell array of numeric vectors. As a cell array, in contains one or two vectors of modulation symbols that result from the scrambling and modulation of DL-SCH or UL-SCH codewords.

nu — Number of transmission layers1,…,8

Number of transmission layers, specified as a positive scalar integer between 1 and 8.

Data Types: double

txscheme — Transmission scheme'Port0' (default) | 'TxDiversity' | 'CDD' | 'SpatialMux' | 'MultiUser' | 'Port5' | 'Port7-8' | 'Port8' | 'Port7-14'

Transmission scheme, specified as one of the following option strings.

  • 'Port0' — Single-antenna port, port 0. Default if NLayers is 1.

  • 'TxDiversity' — Transmit diversity scheme

  • 'CDD' — Large delay CDD scheme

  • 'SpatialMux' — Closed-loop spatial multiplexing. Default if NLayers is not 1.

  • 'MultiUser' — Multiuser MIMO scheme

  • 'Port5' — Single-antenna port, port 7, if NLayers is 1. Dual layer transmission, port 7 and 8, if NLayers is 2.

  • 'Port7-8' — Single-antenna port, port 0

  • 'Port8' — Single-antenna port, port 8

  • 'Port7-14' — Up to 8-layer transmission, ports 7–14

Data Types: char

chs — Channel-specific transmission configurationstructure

Channel-specific transmission configuration, specified as a structure that can contain the following parameter fields.

Parameter FieldRequired or OptionalValuesDescription
NLayersRequired

1, …, 8

Number of transmission layers.

TxSchemeOptional

'Port0' (default), 'TxDiversity', 'CDD', 'SpatialMux' (default), 'MultiUser', 'Port5', 'Port7-8', 'Port8', 'Port7-14'

Transmission scheme, specified as one of the following option strings.

  • 'Port0' — Single-antenna port, port 0. Default if NLayers is 1.

  • 'TxDiversity' — Transmit diversity scheme

  • 'CDD' — Large delay CDD scheme

  • 'SpatialMux' — Closed-loop spatial multiplexing. Default if NLayers is not 1.

  • 'MultiUser' — Multiuser MIMO scheme

  • 'Port5' — Single-antenna port, port 7, if NLayers is 1. Dual layer transmission, port 7 and 8, if NLayers is 2.

  • 'Port7-8' — Single-antenna port, port 0

  • 'Port8' — Single-antenna port, port 8

  • 'Port7-14' — Up to 8-layer transmission, ports 7–14

Output Arguments

collapse all

out — Modulation symbolsnumeric matrix

Modulation symbols, returned as a numeric matrix. out is an M-by-nu matrix consisting of the modulation symbols for transmission upon nu layers.

Data Types: double
Complex Number Support: Yes

References

[1] 3GPP TS 36.211. "Physical Channels and Modulation." 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL: http://www.3gpp.org.

Introduced in R2014a

Was this topic helpful?