sdmcet
Newbie level 4
- Joined
- Sep 26, 2014
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 59
plz any body help me,i m doing project on LDPC codes with sum product
algorithms but it showing error as shown .
algorithms but it showing error as shown .
Code:
1: procedure DECODE(r)
3: I = 0
4: for i = 1 : n do
5: for j = 1 : m do
6: Mj,i = ri
7: end for
8: end for
10: repeat
11: for j = 1 : m do
12: for i ∈ Bj do
13:Ej,i = log(1+Πi′∈Bj,i′≠i=i tanh(Mj,i′/2)÷ log(1-Πi′∈Bj,i′≠i=i tanh(Mj,i′/2)
14: end for
15: end for
16:
17: for i = 1 : n do
18:Li=∑j∈Ai Ej,i + ri
19:zi =1, Li ≤ 0
0, Li >0
20:end for
21: if I = Imax or HzT = 0 then
22: Finished
23: else
24: for i = 1 : n do
25: for j ∈ Ai do
26: Li=∑j′∈Ai, j′≠j Ej',i+ ri
27: end for
28: end for
29: I = I + 1
30: end if
31: until Finished
32: end procedure
Last edited by a moderator: