Home > freetb4matlab > comm > genqammod.m

genqammod

PURPOSE ^

%

SYNOPSIS ^

function y=genqammod(x,c)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{y} =} genqammod (@var{x}, @var{c})
%
% Modulates an information sequence of intergers @var{x} in the range
% @code{[0 @dots{} M-1]} onto a quadrature amplitude modulated signal 
% @var{y}, where  @code{M = length(c) - 1} and @var{c} is a 1D vector 
% specifing the signal constellation mapping to be used. An example of
% combined 4PAM-4PSK is
%
% @example
% @group
%  d = randint(1,1e4,8);
%  c = [1+j -1+j -1-j 1-j 1+sqrt(3) j*(1+sqrt(3)) -1-sqrt(3) -j*(1+sqrt(3))];
%  y = genqammod(d,c);
%  z = awgn(y,20);
%  plot(z,'rx')
% @end group
% @end example
% @end deftypefn
% @seealso{genqamdemod}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003