Mapper for Arbitrary Signal Constellations
%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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: DVB-S2 - Getting Signal Constellations and Bit Mappings
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |