Mapper for Arbitrary Signal Constellations

Fast mapper for arbitrary signal constellations which can be specified by the user.
649 Downloads
Updated 8 Mar 2011

View License

%SIGMAPPER Mapper
% 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.

Cite As

Bernhard Schmidt (2024). Mapper for Arbitrary Signal Constellations (https://www.mathworks.com/matlabcentral/fileexchange/30677-mapper-for-arbitrary-signal-constellations), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0