switch (modulation) case 'BPSK ' data=randint(K,N); BIT=1; case 'QPSK ' data=randint(K*2,N); BIT=2; case '8PSK ' data=randint(K*3,N);