ERROR CORRECTION & CODING SIMULATION

A scratched disc still plays the whole track, and pictures from Voyager cross billions of kilometres and still assemble sharply, all because the data travels alongside redundancy computed in advance. A single parity bit only announces that something is wrong, never where. The Hamming (7,4) code plants three check bits so that when they disagree, the three values together spell out the position of the broken bit, which is then flipped back. Sending each bit three times and taking a majority also repairs errors, at the cost of two thirds of the bandwidth, while a burst of adjacent bad bits defeats a single-error code outright.

▸ Powering up the data transmitter & receiver…
▸ Building the noisy channel (bits may flip)
▸ Loading the parity generator & Hamming(7,4) matrix
▸ Calibrating the decoder & majority vote
▸ Enabling automatic detection / correction…
▸ Ready — Online. ✅
0%
⌂ Mind & Machine

Simulation room Error correction & coding

Error Detection & Correction
Online
parity · Hamming · CRC · redundancy
Reliability gauge
🛡️ Decoder
Data bits—
Check bits—
Errors detected—
Errors corrected—
Redundancy ratio—
Viewing—
Notes
The channel is noisy: a few bits flip (0↔1). Adding redundant bits by a rule lets the receiver detect and sometimes correct the exact position of the wrong bit. The trade-off: spend extra bits to buy reliability.
—
Pick a ‘Scenario’ (clean · parity · Hamming · 3× repetition · burst · noisy) · click a concept (parity/Hamming/CRC/Hamming distance…) for details
Your browser has canvas disabled.
Errors detected & corrected over time errors occurredcorrected
About Error Correction

A scratched disc still plays the whole track, and pictures from Voyager cross billions of kilometres and still assemble sharply, all because the data travels alongside redundancy computed in advance. A single parity bit only announces that something is wrong, never where. The Hamming (7,4) code plants three check bits so that when they disagree, the three values together spell out the position of the broken bit, which is then flipped back. Sending each bit three times and taking a majority also repairs errors, at the cost of two thirds of the bandwidth, while a burst of adjacent bad bits defeats a single-error code outright.

Related topics in Mind & Machine