Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
BCH code
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Systematic encoding: The message as a prefix === A systematic code is one in which the message appears verbatim somewhere within the codeword. Therefore, systematic BCH encoding involves first embedding the message polynomial within the codeword polynomial, and then adjusting the coefficients of the remaining (non-message) terms to ensure that <math>s(x)</math> is divisible by <math>g(x)</math>. This encoding method leverages the fact that subtracting the remainder from a dividend results in a multiple of the divisor. Hence, if we take our message polynomial <math>p(x)</math> as before and multiply it by <math>x^{n-k}</math> (to "shift" the message out of the way of the remainder), we can then use [[Euclidean division]] of polynomials to yield: :<math>p(x)x^{n-k} = q(x)g(x) + r(x)</math> Here, we see that <math>q(x)g(x)</math> is a valid codeword. As <math>r(x)</math> is always of degree less than <math>n-k</math> (which is the degree of <math>g(x)</math>), we can safely subtract it from <math>p(x)x^{n-k}</math> without altering any of the message coefficients, hence we have our <math>s(x)</math> as :<math>s(x) = q(x)g(x) = p(x)x^{n-k} - r(x)</math> Over <math>GF(2)</math> (i.e. with binary BCH codes), this process is indistinguishable from appending a [[cyclic redundancy check]], and if a systematic binary BCH code is used only for error-detection purposes, we see that BCH codes are just a generalization of the [[mathematics of cyclic redundancy checks]]. The advantage to the systematic coding is that the receiver can recover the original message by discarding everything after the first <math>k</math> coefficients, after performing error correction.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
BCH code
(section)
Add topic