Documentation

lteSymbolModulate

Symbol modulation

Syntax

out = lteSymbolModulate(in,mod)

Description

example

out= lteSymbolModulate(in,mod)maps the bit values,in, to complex modulation symbols with the modulation scheme specified inmod.

Examples

collapse all

Map bit values to QPSK modulated symbols.

out = lteSymbolModulate([0; 1; 1; 0],'QPSK')
out = 0.7071 - 0.7071i -0.7071 + 0.7071i

Input Arguments

collapse all

Input bits, specified as a column vector, where each bit is either 0 or 1. The vector length must be a multiple of 2 for QPSK modulation, 4 for 16-QAM modulation, 6 for 64-QAM modulation and 8 for 256-QAM modulation. The bit values must be 0 or 1.

Alternatively, specifyinas a cell array containing one bit vector or a cell array containing two bit vectors.

Data Types:double|cell

Modulation scheme, specified as'BPSK','QPSK','16QAM','64QAM', or'256QAM'.

Alternately, you can specifymodas a cell array of one or two modulation schemes. The number of modulation schemes inmodcannot exceed the number of bit vectors specified byin. Ifinspecifies two bit vectors andmodspecifies one modulation scheme, the same modulation is used for both bit vectors.

Data Types:char|cell

Output Arguments

collapse all

Complex modulated output symbols, returned as a column vector. The symbols use the modulation scheme specified inmod.

Data Types:double
Complex Number Support:Yes

Introduced in R2014a

Was this topic helpful?