A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

# Questions tagged [gray-code]

For questions about Gray codes, also known as reflected binary codes. It is a binary numeral system where two successive values differ in only one bit (binary digit).

8 questions
Filter by
Sorted by
Tagged with
19 views

### Decimal convert to Gray Code and 8 4 -2 -1 code

I have tried to convert decimal number with decimal points 67.875 to 8 4 -2 -1 code and Gray code and I got 10101001.100010011011 for 8 4 -2 -1 code and 1100010.100 for Gray code. However, I am not ...
34 views

59 views

### Gray codes over strings of length n?

For any natural number n, an ordering of all binary strings of length n is a Gray code if it starts with 0^n, and any successive strings in the ordering differ in exactly one bit (the first and last ...
Consider the code $C=\{0000, 0010, 0020, abcd, 2110, 2100, 1220, 2120, 1210\}\subset F^{4}_3$ To determine $abcd\in F^{4}_3$ for $C$ to be linear is to say that $abcd$ is a linear combination of a ...
Problem: Determine the immediate successors of the following 9-tuple in the reflected Gray Code of order 9. $$111111111.$$ My Attempt: I am using the following algorithm to solve this problem: ...