What is the rate of hamming codes?
1 - r/(2^r - 1)
1 - r/2^r
1 + r/2^r
r/2^r + 1
(A) 1 - r/(2^r - 1)
Explanation:
Rate of a hamming code = message length / block length = (2^r - r - 1) / (2^r - 1) = 1 - r/(2^r - 1). It is the highest rate for a minimum distance of 3.