leony
Member level 1
qam to bit mapping in matlab
I am trying to simulate a 16 QAM modulation in rayleigh channel. However the BER is always around 0.5 no matter the Eb/No is.
The channel model I am using is:
ch=1/sqrt(2)*(randn(N,1)+sqrt(-1)*randn(N,1)); where N is the number of bits.
noise=1/sqrt(2)*(randn(N,1)+sqrt(-1)*randn(N,1)); is the AWGN.
s_hat=sqrt(snr(k)).*abs(ch).*X + noise; is the symbols after channel and AWGN.
(snr(k)) is the SNR or Eb/No loop.
I do not use shaping filters. Just bits to symbol mapping, the channel and noise after than symbol to bit mapping.
However the BER is always around 0.5. What can be the problem here?
Thanks in advance....
I am trying to simulate a 16 QAM modulation in rayleigh channel. However the BER is always around 0.5 no matter the Eb/No is.
The channel model I am using is:
ch=1/sqrt(2)*(randn(N,1)+sqrt(-1)*randn(N,1)); where N is the number of bits.
noise=1/sqrt(2)*(randn(N,1)+sqrt(-1)*randn(N,1)); is the AWGN.
s_hat=sqrt(snr(k)).*abs(ch).*X + noise; is the symbols after channel and AWGN.
(snr(k)) is the SNR or Eb/No loop.
I do not use shaping filters. Just bits to symbol mapping, the channel and noise after than symbol to bit mapping.
However the BER is always around 0.5. What can be the problem here?
Thanks in advance....