Modulates an information sequence of integers x in the range
[0 … M-1]
onto a complex baseband phase shift keying
modulated signal y. phi controls the initial phase and
type controls the constellation mapping. If type is set
to "Bin" will result in binary encoding, in contrast, if set to "Gray"
will give Gray encoding. An example of Gray-encoded QPSK is
d = randint (1, 5e3, 4); y = pskmod (d, 4, 0, "gray"); z = awgn (y, 30); plot (z, "rx")
The output y will be the same shape as the input x.
See also: pskdemod.
Package: communications