Cyclic code

(7, 4)循环码的生多项式 g(x)=x3+x2+1g(x)=x^3+x^2+1 , 则D(1010)的系循环码是多少?

1.

1010d(x)=x3+x1\begin{align*} 1010 \Rightarrow d(x) = x^3 + x^1 \end{align*}

2.

x74d(x)=x3(x3+x)=x6+x4\begin{align*} &x^{7 - 4} \cdot d(x) \\ \\ =&x^3 \cdot (x^3 + x) \\ \\ =&x^6 + x^4 \end{align*}

3.

rem[(x6+x4),g(x)]=1rem( a , b ) returns the remainder after division of a by b\begin{align*} &rem[(x^6 + x^4), g(x)] = 1 \\ \\ &\text{rem( a , b ) returns the remainder after division of a by b} \end{align*}

4.

c(x)=x6+x4+11010001\begin{align*} c(x) &= x^6 + x^4 + 1 \\ &\Downarrow \\ 10&10001 \end{align*}

hamming code

n=2r1n = 2^r - 1

n represents the length of codes

r represents the 监督码(不传递信息,只为纠错而加的东西)

Last updated