joserse46
Newbie level 4
- Joined
- Nov 6, 2010
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,347
Hello, so I am simulating 8 QAM in matlab and have some questions about symbol error probability as my results are not making sense.
d1, d2, d3 are bits(vectors) sent
d1hat, d2hat, d3hat are the received (over AWGN channel)
n is the number of symbols
N=n*3 is the number of bits sent
C1 = xor(d1,d_hat1);
C2 = xor(d2,d_hat2);
C3 = xor(d3,d_hat3);
%bit error
Pb_simulated(l) = (sum(C1)+sum(C2) + sum(C3))*(1/N);%overall error for each EB/NO
%symbol error
C4=or(C1,C2);
C5 = or(C4,C3);
Ps_simulated(l) = (sum(C5))*(1/n)
the problem is for the first coulple of eb/no values i have a number greater than 1
any suggestions?
d1, d2, d3 are bits(vectors) sent
d1hat, d2hat, d3hat are the received (over AWGN channel)
n is the number of symbols
N=n*3 is the number of bits sent
C1 = xor(d1,d_hat1);
C2 = xor(d2,d_hat2);
C3 = xor(d3,d_hat3);
%bit error
Pb_simulated(l) = (sum(C1)+sum(C2) + sum(C3))*(1/N);%overall error for each EB/NO
%symbol error
C4=or(C1,C2);
C5 = or(C4,C3);
Ps_simulated(l) = (sum(C5))*(1/n)
the problem is for the first coulple of eb/no values i have a number greater than 1
any suggestions?
Last edited: