CrazyEngineers
  • Why the name 'reflected' code given to Gray codes?

    Updated: Oct 23, 2024
    Views: 1.2K
    I mean what is 'reflected' in the gray code. I know that in the gray codes, the next or previous number changes only in one bit if compared with current number. I want the meaning of reflection here.
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • nareshkumar6539

    MemberJan 18, 2012

    Gray Code is Unit distance,Cyclic and Reflective.For one variable gray code is simply 0 and 1
    ,for two variables gray code is 00,01,11,10,if we observe the any two consecutive numbers there should be only one bit is changing so gray code is unit distance.For writing gray code for 2 variables first write graycode for 1 varible ( i.e 0 and 1) in vertically
    (Step1)
    0
    1
    gray code is reflective means write the mirror image of the above one
    (Step2)
    0
    1
    1
    0
    gray code is cyclic means for the above first half numbers attach 0(Step3)
    and remaing half numbers attach 1 (Step4)
    then it will give gray code for 2 variables.
    00
    01
    11
    10
    in the above step 1,2,3 and 4 represent in red ,green,blue and Pink colors consecutively.
    Are you sure? This action cannot be undone.
    Cancel
  • SheldonCooper

    MemberJan 21, 2012

    Thanks. Coloring is very descriptive.😀
    Are you sure? This action cannot be undone.
    Cancel
  • Bindu Chitrachedu

    MemberDec 14, 2018

    Thank you very much.

    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register