matlab求最大公约数和最小公倍数 最大公约数:(函数) function n = zuidagongyueshua,b) ifa>b) tem = a; b = a; a = tmp; end for i=1:a c = rem … 继续阅读 matlab求最大公约数和最小公倍数