GrayCode and bytes operation 09/13/2017 Be A Better Programmer 1.num2gray (i>>1)^I 2.find rightest 1 x&(x-1) 3.find rightest 0 x&(x+1) Prev Matlab Next CV_Filtering and Sampling