answersLogoWhite

0

The gray code is reflected binary, the first eight values compare with those of the last 8 values after we remove MSB, but in reverse order.

Consider :

0000

0001

0011

0010

0110

0111

0101

0100

1100

1101

1111

1110

1010

1011

1001

1000

Remove the most significant bit (MSB) and you obtain a nice reflected sequal:

x000

x001

x011

x010

x110

x111

x101

x100

------ -- mirror

x100

x101

x111

x110

x010

x011

x001

x000

Please note that the same kind of result can be seen for Gray code of any width.

User Avatar

Milan Bhandari

Lvl 2
4y ago

What else can I help you with?

Related Questions

Gray code of 111 is?

Gray code is a 'reflected code', why is it named so will be illustrated soon. The advantage of Gray code over binary code is that only one bit in the code group changes when going from one number to the next. By, Ashish Kumar (Roh, Nawada, Bihar)


What is binary cyclic code?

The reflected binary code, also known as Gray codeafter Frank Gray, is a binary numeral system where two successive values differ in only one bit.Here is an example of a 4-bit Gray code:0000000100110010011001110101010011001101111111101010101110011000


What is the most important characteristic of Gray code Prepare a table showing the 4 bit Gray code Explain the rule for conversion of Binary number to Gray code?

characteristic of Gray code


What are the disadvantages of Gray code?

One disadvantage of Gray code is that it is not as intuitive for human understanding compared to binary code. Another drawback is that Gray code is not as efficient in terms of mathematical operations, such as addition and subtraction, compared to binary code. Additionally, Gray code requires more bits to represent the same range of values as binary code, which can result in increased complexity and storage requirements.


What reflected sound is called?

reflected sound is either reverberation or echo


Does special gray code property have any value?

The Gray Code is a type of binary code developed by a programmer named Frank Gray. Gray code is a binary numeral system that differ than normal binary code, and is used widely to detect errors in software.


How do you write a program to convert binary code to gray code using c?

Gray code, named after Frank Gray, a Bell Labs researcher who originally called it "reflected binary code", is used to help correct errors in digital communications. It was developed as a response to preventing desynchronized switching actions, requiring only one switch be flipped to increment or decrement a binary value represented by a hardware-based switch array. The simplest method, without using a whole lot of CPU or brain power, is to create an array of Gray code values that correspond to their binary representation. For example, a 2-bit Gray code array would consist of the following values: int gray2bit[]={0, 1, 3, 2}; A 3-bit Gray code array would be declared and initialized as follows: int gray3bit[]={0, 1, 3, 2, 6, 7, 5, 4}; To find the Gray code for a particular value, simply reference that offset in the desired array: int n=gray2bit[2]; /* results in 3 */ int m=gray3bit[6]; /* results in 5 */ See the related links for more information on Gray codes as well as sample source code that will assist you further.


What is the airport code for Gray Army Airfield?

The airport code for Gray Army Airfield is GRF.


When was The Code of Marcia Gray created?

The Code of Marcia Gray was created on 1916-03-16.


What is a term that means reflected light?

The light which enters is called the incident ray and the reflected light is called the reflected ray.


Reflected sound waves are called?

Reflected sound waves are called echoes.


What is a reflected radar signal called?

A reflected radar signal is called an echo.