lcm
- :
l =lcm(a, b)¶ Least common multiple of two positive integer-valued arrays (MATLAB R2026a).
Exactly two inputs are required. Every entry must be a positive integer (
MATLAB:lcm:InputNotPosInt). Arguments must be the same size or scalar.