Main Content

lteSymbolModulate

Symbol modulation

Description

example

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

Examples

collapse all

Map bit values to QPSK modulated symbols.

out = lteSymbolModulate([0; 1; 1; 0], 'QPSK')
out = 2×1 complex

   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 two for QPSK, four for 16-QAM, six for 64-QAM, eight for 256-QAM, or ten for 1024-QAM. The bit values must be 0 or 1.

Alternatively, specify in as 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', '256QAM', or '1024QAM'.

Alternately, you can specify mod as a cell array of one or two modulation schemes. The number of modulation schemes in mod cannot exceed the number of bit vectors specified by in. If in specifies two bit vectors and mod specifies 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 in mod.

Data Types: double
Complex Number Support: Yes

Introduced in R2014a