Input bits, specified as a column vector, where each bit is either 0 or
1. The vector length must be a multiple of two for
QPSK, four for 16-QAM, six for 64-QAM, eight for 256-QAM, or ten for
1024-QAM. The bit values must be 0 or 1.
Alternatively, specify in as a cell array
containing one bit vector or a cell array containing two bit vectors.
Modulation scheme, specified as 'BPSK', 'QPSK',
'16QAM', '64QAM',
'256QAM', or '1024QAM'.
Alternately, you can specify mod as a cell
array of one or two modulation schemes. The number of modulation schemes
in mod cannot exceed the number of bit vectors
specified by in. If in specifies two bit
vectors and mod specifies one modulation scheme,
the same modulation is used for both bit vectors.