lbc op

  • Upload
    jishu

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

  • 7/21/2019 lbc op

    1/2

    enter the value of n:7enter the value of k4q= 3

    enter the parity matrix[1 1 00 1 11 1 11 0 1]p= 1 1 0 0 1 1 1 1 1 1 0 1

    enter the order of lbc for generator poly[1 0 0 0 1 1 00 1 0 0 0 1 10 0 1 0 1 1 10 0 0 1 1 0 1]g1= 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 1 0 1

    G =

    3

    G= 3

    enter the msg bit[0 0 0 00 0 0 10 0 1 00 0 1 1

    0 1 0 00 1 0 10 1 1 00 1 1 11 0 0 01 0 0 11 0 1 01 0 1 01 0 1 11 1 0 01 1 0 11 1 1 01 1 1 1]

    code word hwc= 0 0 0 0 0 0 0 0

    1 0 0 1 1 0 1 31 0 1 0 1 1 1 4

    0 0 1 1 0 1 0 20 1 0 0 0 1 1 4

    0 1 0 1 1 1 0 3 0 1 1 0 1 0 0 3 0 1 1 1 0 0 1 3

  • 7/21/2019 lbc op

    2/2

    1 0 0 0 1 1 0 71 0 0 1 0 1 1 2

    1 0 1 0 0 0 1 41 0 1 0 0 0 1 3

    1 0 1 1 1 0 0 4 1 1 0 0 1 0 1 3 1 1 0 1 0 0 0 3 1 1 1 0 0 1 0 3

    1 1 1 1 1 1 1 3

    dmin= 2

    td= 1

    tc= 0.5000

    >>