Decimal to Gray Code Converter

Sep 19, 2018 1 Comments

Decimal to Gray Code Converter is used to convert a Decimal number into Gray Code format. Use the Gray Code Converter tool to convert between any number base and gray code.

Input: Paste Decimal numbers below (1 per line if multiple)



Gray Code To Decimal Converter

Convert Gray Code number to Decimal

View Tool
 
Comments 1

George Plousos

George Plousos

  • 5 months ago

Hi,

I was working in a different mathematical field. Unintentionally, I discovered two ways to convert numbers to Gray code. From right to left: I make the divisions of 173 with the numbers 2,4,8,16,32, ..., 256. I round each quotient to the nearest integer. I am writing this integer down from the corresponding fraction. If this integer is even, then I write below this digit 0, otherwise I write the digit 1. These digits form the Gray Code of 173:

173
_____________________________
256 128 64 32 16 8 4 2
1 1 3 5 11 22 43 87
1 1 1 1 1 0 1 1

Faster method. I can convert all numbers that have equal lengths of digits in the binary system to Gray codes. I do this without turning any number into binary. Here I find it difficult to present this method because it contains graphs, but you can find this here:

http://viXra.org/abs/2004.0456?ref=11278286

History
Feb 5, 2018
Tool Launched