Modulates a sequence of integers into a series of pulse amplitude modulation (PAM) symbols.
y = pam(x, m)
y = pam(x, m, phi)
y = pam(x, m, phi, type)Legacy name: pammod
Sequence of integers to modulate. x is an integer scalar, vector, or matrix in the range of [0, m-1].
Uses m-ary PAM modulation. m should be an integer equal to or greater than 2.
Initial phase in radians.
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, floating-point scalar, vector, or matrix.
X = randint(1, 1000, 8) Y = pam(X, 8, 0, 'Gray')
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices