carol: How do you make a grey code matrix with 7 variables to determain gates to be used?
Then what do I need to know to illustrate it on matlab?
The following link: http://www.gaussianwaves.com/2012/10/natural-binary-codes-and-gray-codes/ has useful information on gray codes and implementing them in Matlab.