Decoding error for BCH(15,7,2)

Help
Arti
2013-07-16
2013-07-17
  • Arti
    Arti
    2013-07-16

    Decoding error for BCH(15,7,2) : Generator polynomial: "7 2 1"
    IT++ declaration: BCH bch(n,k,t,ivec("7 2 1"));

    I am trying to decode vector "1 0 1 0 1 0 1 0 1 0 1 0 1 0 1" using above BCH code.
    IT++ decoded codeword: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"
    Correct answer: "1 0 1 0 0 1 1 1 1 0 1 0 1 0 1"

    Can anybody help why is this happening?

     
  • Bogdan Cristea
    Bogdan Cristea
    2013-07-16

    Please provide a complete example.

     
  • Navneet
    Navneet
    2013-07-17

    Hi Arti,

    BCH (15,7,2) has error correction capability of 2. Comparing your decoding vector and correct answer, I see difference of 3 bits.

    Navneet