%% Greatest Common Divisors of Unsigned Integers

A = uint16([255 511 15]);
B = uint16([15 127 1023]);
G = gcd(A,B)

% Copyright 2012 The MathWorks, Inc.