xo=qam4(xi);
qam4(xi) converts a vector of 0's and 1's into the complex roots of unity (QAM4 modulation). Every 2 input coefficients are mapped into 1 output coefficient.