Demodulates a sequence of complex Quadrature Amplitude Modulated (QAM) symbols into a series of integers.
x = qadm(y, m)
x = qadm(y, m, phi)
x = qadm(y, m, phi, type)
Symbols to demodulate. y is a non-integer numeric scalar or an array of any dimension.
M-ary QAM demodulation. m should be a square of a power of 2.
Initial phase in radians. The default phi is 0.
Method to map symbols to demodulated integers. type is a string that accepts the following values:
Uses binary mapping to demodulated integers.
Uses Gray-coded mapping to demodulated integers.
Demodulated inputs. x is the same size as y with integer values within the range [0, m-1].