1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
=============================================
Starting Simulation
Bit error rate as a function of Eb/N0
=============================================
Block length = 400
Generator polynomials = [7 5]
Max number of Iterations = 8
Adaptive stop = 1
Eb/N0 = [0 0.5 1 1.5 2] [dB]
Turbo encoder rate 1/3 (plus tail bits)
=============================================
Now simulating EbN0db = 0
Now simulating EbN0db = 0.5
Now simulating EbN0db = 1
Now simulating EbN0db = 1.5
Now simulating EbN0db = 2
Results: (1st row: logmax, 2nd row: logmap, 3rd row: qllr, default resolution, 4th row: qllr, low resolution
Bit error rate:
ber = [[0.1397 0.05585 0.00815 0.0001 0]
[0.07375 0.0257 0.002 0.00035 0]
[0.07395 0.02565 0.0021 0.00035 0]
[0.07925 0.0276 0.00195 0.0003 0]]
Average numer of iterations used:
[[7.84 6.88 4.94 3.52 3.08]
[7.46 6.22 4.28 3.38 3.02]
[7.42 6.22 4.3 3.38 3.02]
[7.66 6.24 4.3 3.4 3.04]]
Number of bit errors counted:
err = [[2794 1117 163 2 0]
[1475 514 40 7 0]
[1479 513 42 7 0]
[1585 552 39 6 0]]
Number of correct bits counted:
cor = [[17206 18883 19837 19998 20000]
[18525 19486 19960 19993 20000]
[18521 19487 19958 19993 20000]
[18415 19448 19961 19994 20000]]
|