Hello I am trying to do an exercise, but I got stuck on it since till now I was using Hamming $\require{cancel}\cancel{(7, 4)}$ $[8,4]$? and everything was going fine and I understand it. So I have the word $1??10010$, which was received over a binary erasure channel, which garbled the second and third bit, I have to find the second and the third bit, could you please help me thanks in advance.
2026-03-29 02:52:03.1774752723
extended Hamming code
1.1k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in DISCRETE-MATHEMATICS
- What is (mathematically) minimal computer architecture to run any software
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- Given a function, prove that it's injective
- Surjective function proof
- How to find image of a function
- Find the truth value of... empty set?
- Solving discrete recursion equations with min in the equation
- Determine the marginal distributions of $(T_1, T_2)$
Related Questions in CODING-THEORY
- Solving overdetermined linear systems in GF(2)
- Inverting a generator matrix - Coding Theory
- Probability of a block error of the (N, K) Hamming code used for a binary symmetric channel.
- How to decode a Hadamard message that was encoded using the inner product method?
- How to decode a Hadamard message that was encoded using a generator matrix?
- Find the two missing digits in 10-ISBN code
- Characterize ideals in $\mathbb{F}_l[x]/(x-1) \oplus \mathbb{F}_l[x]/(\frac{x^p-1}{x-1})$
- Number of codes with max codeword length over an alphabet
- Dimension of ASCII code
- Prove how many errors CRC code can detect
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
If an errors-only decoding algorithm is available for a binary code, then there is an easy way to decode erasures. For this specific code, there is a decoding algorithm that can correct single errors and detect two errors. So, the erasures-only decoding algorithm works as follows.
Step I: Replace all the erasures by $0$ to create a purely binary "received" word $\mathbf r_0$ and apply the errors-only decoding algorithm to find the most likely transmitted codeword $\mathbf c_0$. Note that it is possible that the decoding algorithm will fail to decode and report that there are two errors in $\mathbf r_0$ and it has no idea what the most likely transmitted codeword is.
Step II: Replace all the erasures by $1$ to create a purely binary "received" word $\mathbf r_1$ and apply the errors-only decoding algorithm to find the most likely transmitted codeword $\mathbf c_1$. Note that it is possible that the decoding algorithm will fail to decode and report that there are two errors in $\mathbf r_1$ and it has no idea what the most likely transmitted codeword is.
Now the replacements of the erasures are guaranteed to produce one of two possible results:
(i) exactly one of $\mathbf r_0$ and $\mathbf r_1$ is indeed a valid codeword, and so that particular decoding will produce a most likely transmitted codeword while the other decoding will result in a decoding failure,
and
(ii) both $\mathbf r_0$ and $\mathbf r_1$ are at distance $1$ from a codeword $\mathbf c$ and so both decodings will result in $\mathbf c$ being returned as the most likely transmitted codeword.
Consequently, Step III of the erasures-only decoding algorithm is
Note added in response to Jyrki Lahtonen's comments:
The answer above was written in response to the specific question about the binary $[8,4]$ extended Hamming code, but, as noted in Jyrki's comments, with just a minor modification, the algorithm also works for arbitrary binary codes on an errors-and-erasures channel instead of the erasures only channel.
A binary code with minimum distance $d$ can correct up to $t = \left\lfloor\frac{d-1}{2}\right\rfloor$ errors. Now suppose that the received word $\mathbf r$ has $e$ errors and $\varepsilon$ erasures in it. Note that the receiver knows the locations of $\varepsilon$ erasures but it does not know the location of the errors; indeed, the receiver does not even know the value of $e$ ! Thus, Steps I and II create purported received words $\mathbf r_0$ and $\mathbf r_1$ at distances $e+\varepsilon_0$ and $e+\varepsilon_1$ from the transmitted codeword where $\varepsilon_0 + \varepsilon_1 = \varepsilon$. Now, if $2e+\varepsilon < d$, then at least one (possibly both) of $\mathbf r_0$ and $\mathbf r_1$ is at distance at most $t$ from the transmitted codeword. Consequently, at least one (and possibly both) of $\mathbf c_0$ and $\mathbf c_1$ is the transmitted codeword. While we are guaranteed that at least one of Steps I and II returns the transmitted codeword, the other Step might result in a decoder failure (and we know already how to handle that case in Step III), but, in general, it is possible for the other Step to return a different codeword.
Example: Suppose that a codeword of weight $4$ in the binary $[8,4]$ extended Hamming code is transmitted and that three of the four $1$'s get erased. Then, $\mathbf r_0$ has weight $1$ and gets decoded into the all-$0$ codeword with one error being corrected in the decoding process, while $\mathbf r_1$ is the transmitted codeword itself and so gets decoded into the transmitted codeword with no errors being corrected in the decoding process.
So, what should be done when Steps I and II return different codewords $\mathbf c_0$ and $\mathbf c_1$? The answer is that Step III should return the result of whichever Step corrected fewer errors. Is it possible for Steps I and II to correct the same number of errors? Yes, but in this case, they are guaranteed to return the same codeword, not different codewords as long as the constraint $2e+\varepsilon < d$ is satisfied. Of course, the decoder does not know whether the constraint is satisfied or not, and, as Jyrki's example in the comments shows, it is possible for Steps I and II to return different codewords with the same number of errors being corrected in each case.
In the absence of the side information referred to in Jyrki's comment, we modify Step III slightly to