BCH code: Difference between revisions

Content deleted Content added
Dysprosia (talk | contribs)
m fmt
Dysprosia (talk | contribs)
m fmt and finish
Line 8:
 
Now if we have &alpha; a root of ''x''<sup>4</sup>+''x''+1, ''m''<sub>1</sub>(''x'')=''x''<sup>4</sup>+''x''+1. Now ''m''<sub>1</sub> is minimal for &alpha; since
:''m''<sub>1</sub>(''x'')=(''x''-&alpha;)(''x''-&alpha;<sup>2</sup>)(''x''-&alpha;<sup>4</sup>)(''x''-&alpha;<sup>8</sup>)=''x''<sup>4</subsup>+''x''+1.
 
If we wish to construct a code to correct 1 error we use ''m''<sub>1</sub>(''x''). Our codewords will be
Line 55:
 
So then
:''S''<sub>1</sub>=''R''(&alpha;)=''C''(&alpha;)+&alpha;<sup>''i''</sup>=&alpha;<sup>i</sup>
:''S''<sub>3</sub>=''R''(&alpha;<sup>3</sup>)=''C''(&alpha;<sup>3</sup>)+(&alpha;<sup>3</sup>)<sup>i</sup>
:: =(&alpha;<sup>i</sup>)<sup>3</sup>=''S''<sub>1</sub><sup>3</sup>
so we can recognize one error. A change in the bit position shown by &alpha;'s power will aid us correct that error.
 
If there are two errors
:'''r'''='''c'''+'''e'''<sub>i</sub> +'''e'''<sub>j</sub>
then
:''S''<sub>1</sub>=''R''(&alpha;)=''C''(&alpha;)+&alpha;<sup>''i''</sup>+&alpha;<sup>j</sup>
:''S''<sub>3</sub>=''R''(&alpha;<sup>3</sup>)=C(&alpha;<sup>3</sup>)+(&alpha;<sup>3</sup>)<sup>i</sup>+(&alpha;<sup>3</sup>)<sup>j</sup>
:: = (&alpha;<sup>3</sup>)<sup>i</sup>+(&alpha;<sup>3</sup>)<sup>j</sup>
which is '''not''' the same as ''S''<sub>1</sub><sup>3</sup> so we can recognize ''two'' errors. Further algebra <!-- add when have time --> can aid us in correcting these two errors.
 
Source:''Original source (first two paragraphs) from [[Federal Standard 1037C]]''