This function converts a gray code to a binary number (base2)
gray2bin(x, ...)
x
The gray code as logical vector.
...
Additional parameter for binary()
The binary number (base2).
bin2gray