Modulates a sequence of integers into a series of Quadrature Amplitude Modulated (QAM) symbols.
y = qam(x, m)
y = qam(x, m, phi)
y = qam(x, m, phi, type)Legacy name: qammod
Sequence of integers to modulate. x is a I32 array of any dimension in the range [0, m-1].
M-ary QAM modulation. m should be a square of a power of 2.
Initial phase in radians. The default phi is 0.
Method to map the integers to modulated symbols. type is a string that accepts the following values:
Uses binary mapping to the modulated symbols.
Uses Gray-coded mapping to the modulated symbols.
Modulated symbols. y is a complex, double-precision or floating-point number of the same size as x.
X = randint(1, 1000, 16) Y = qam(X, 16, 0, 'Gray')
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices