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

    %% Least Common Multiples of Unsigned Integers  

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