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

    %% Least Common Multiples of Double Array and a Scalar  

%%  
A = [5 17; 10 60];
B = 45;
L = lcm(A,B)