Function File: qammod (x, M)
Function File: qammod (x, M, symOrder)

Create the QAM modulation of x with a size of alphabet M using a given symOrder.

x vector in the range 0 to M-1

M modulation order

symOrder ’bin’, ’gray’, user define array

M = 4;
sym = 0:M-1;
qammod(sym, M)

ans =

 -1 + 1i
 -1 - 1i
  1 + 1i
  1 - 1i

See also: qamdemod, pskmod, pskdemod.

Package: communications