Maps a symbol sequence to a binary sequence with binary or gray decoding
b = symdemap(x,k[,enc])
Input symbol vector (real or complex, depending on the encoding)
Number of bits / symbol
Specify binary ('b', default), qam ('q'), or phase ('p') encoding
Output binary sequence (a vector of 0 and 1)
Maps a symbol sequence to a binary sequence (sequence of 0 or 1), using one of the following possible encodings:
enc = 'b'
: produces a vector of real symbols, uniformly distribued between -1 and 1 (if k = 2, only -1 and 1 are produced, e.g. NRZ encoding).enc = 'p'
: produces complex symbols of unit magnitude and uniformly distribued phase between 0 and enc = 'q'
: produces complex symbols where real and imaginary parts of the signal are independently modulated using each one half of the bitstream.