Question
3. Let C be a q-ary code of length n. Assume the minimal distance d(C) is an odd number, d(C) = 2r + 1. We
3. Let C be a q-ary code of length n. Assume the minimal distance d(C) is an odd number, d(C) = 2r + 1. We showed in class that C can always correct up to r errors. That is, whenever a codeword a from C is sent, and r or fewer errors occur in transmission, the Nearest Neighbour Decoding algorithm will decode the received word b correctly (i.e., will decode b as a). Prove that C cannot always correct r + 1 errors. That is, show that there exists a codeword a in C and a word b with d(a, b) = r + 1 such that when a is transmitted and b is received, the Nearest Neighbour Decoding algorithm (either complete or incomplete) will not decode b correctly.
4. Let C be a q-ary code of length n. Assume that d(C) 2. Show that it is possible to change one word in C in only one position to create a new code C' such that d(C') = d(C) - 1.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started