Version:

Demodulates a sequence of complex Quadrature Amplitude Modulated (QAM) symbols into a series of integers.

## Syntax

x = qadm(y, m)
x = qadm(y, m, phi)
x = qadm(y, m, phi, type)
Legacy name: qamdemod

## y

Symbols to demodulate. y is a non-integer numeric scalar or an array of any dimension.

## m

M-ary QAM demodulation. m should be a square of a power of 2.

## phi

Initial phase in radians. The default phi is 0.

## type

Method to map symbols to demodulated integers. type is a string that accepts the following values:

 'Bin' (default) Uses binary mapping to demodulated integers. 'Gray' Uses Gray-coded mapping to demodulated integers.

## x

Demodulated inputs. x is the same size as y with integer values within the range [0, m-1].