<< symdemap Filtering and pulse shaping upsample >>

comm_tbx >> Communication toolbox > Filtering and pulse shaping > symmap

symmap

Maps a binary sequence to a symbol sequence

Calling Sequence

x = symmap(b,k[,enc])

Parameters

b:

Input binary sequence (must be a vector of 0.0 and 1.0)

k:

Number of bits / symbol

enc:

Specify binary ('b', default), phase ('p'), or qam ('q') encoding

x:

Output symbol vector (real or complex)

Description

Maps a binary sequence (sequence of 0 or 1) to a sequence of symbols, using one of the following possible encodings:

Example

x1 = symmap([0 1 0 0], 1, 'b') // NRZ encoding
x2 = symmap([0 1 0 0], 2, 'p') // QPSK encoding

See also

Authors


Report an issue
<< symdemap Filtering and pulse shaping upsample >>