Re: error correcting/detecting code question



Bart Vandewoestyne wrote:
I have course notes on error detecting and correcting codes that
state the following two well known facts:

Fact 1:
"A block-code can detect s errors if and only if d >= s+1"

Fact 2:
"A block-code can correct t errors if and only if d >= 2t+1"

where d is the distance of the code.

Now a little bit further in these course notes, it is written:

"In general, a code can only detect errors or only correct errors
or a combination of both. The requirement for a code to be able
to detect s errors and at the same time correct t (<=s) errors is
that d>=s+t+1

Example:
Suppose we have a code with d=5. This code can...
... detect 4 errors and correct 0 errors.
OR ... detect 3 errors and correct 1 error.
OR ... detect 2 errors and correct 2 errors."


But I am puzzled by this, because when d=5 one could argue that
by Fact 1 we have that 4 errors can be detected and at the same
time one can argue by Fact 2 that 2 errors can be corrected. So
this would mean the code can detect 4 errors and correct 2
errors, which is in contradiction with the above.

If there are two errors, you can correct them both. If there are 4 errors, you don't get enough information to correct any of them.

What am I misinterpreting here? Which interpretation is the
right one? Do there exist codes that can detect 4 errors and
correct none, or is it possible with d=5 to detect 4 errors and
to correct 2 errors?

The knowledge that there are indeed at most two errors has to come from outside the error correction system. When there are three or more errors, you can still perform the procedure that would correct two errors, but its result won't be the original message.

--Mike Amling
.



Relevant Pages

  • Re: Distance in Denotational Semantics?
    ... > semantic distance between two arbitary programs ... ... omega -> omega union ... If you want to argue about the textual form of the programs, ... which branches nondeterministically to the P'=bisimulation quotient of P ...
    (comp.theory)
  • Re: Consciousness created
    ... Rushtown wrote: ... One might argue that it still would be because of my sense of touch. ... Color, depth, distance, solidness, temperture are only there because ... I have the senses to consciously experience them. ...
    (sci.physics)
  • Re: Video Exposes Forest Service Propaganda about Rainbow Gathering
    ... Don't engage with the cops, argue with them, or call things out to them. ... be aware of the distance you maintain. ... Watch for non-verbal cues as ... the other eye on them keeping an eye on you. ...
    (alt.gathering.rainbow)
  • Re: Speed gedanken time (repaired) time dilation 099
    ... |> used a physical device to measure it. ... |> a distance = a distance per time. ... | Not something I've tried to argue - don't change the subject, ... I merely hopped in the train you started to move upon. ...
    (sci.physics)