www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GreatestCommonDivisorsofUnsignedIntegersExample.m

    %% Greatest Common Divisors of Unsigned Integers  

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