% This function performs QPSK modulation on input bits. % NOTE: Not the widely used QPSK mapping! Not Gray coding! bits_reshaped = reshape(bits, 2, []).'; mapping ...