Mapper for Arbitrary Signal Constellations (Scripts) Publisher's description
from Bernhard Schmidt
H = SIGMAPPER(CONSTELLATION, MAPPING) constructs a SIGMAPPER object H to
% H = SIGMAPPER(CONSTELLATION, MAPPING) constructs a SIGMAPPER object H to
% map a bitstream to the points of a signal constellation. The signal
% constellation is specified by the vector CONSTELLATION which contains
% the real or complex signal points. The mapping is done according to
% the vector MAPPING. The vectors CONSTELLATION and MAPPING are usually
% generated by using MATLAB Modem Modulation Modem.<Type>, but in general
% any constellation and any mapping can be used.
% A SIGMAPPER object is equipped with one function:
% - SIGMAP (type "help sigmapper/sigmap" for detailed help)
% Input: CONSTELLATION [1xM]
% MAPPING [1xM]
% Output: H [1x1]
Example of use:
h = sigmapper(constellation,mapping); % generate handle to sigmapper object
u = randi([0 1],block_size,1); % generate bit stream of length block size
x = modulate(h,u); % do mapping
The vector x contains the real or complex signal points.
## important: Before you can use these files you have to compile the mex-file mex_sigmap.cpp, which can be done by executing the file compile_mex_sigmap.m. There is a test file included as well.
System Requirements:MATLAB 7.10 (2010a)
Program Release Status: New Release
Program Install Support: Install and Uninstall