Function File: y = genqammod (x, c)

Modulates an information sequence of integers x in the range [0 … M-1] onto a quadrature amplitude modulated signal y, where M = length (c) - 1 and c is a 1D vector specifying the signal constellation mapping to be used. An example of combined 4PAM-4PSK is

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")

See also: genqamdemod.

Package: communications