MATLAB Function Reference |
Syntax
Description
L = lcm(A,B)
returns the least common multiple of corresponding elements of arrays A
and B
. Inputs A
and B
must contain positive integer elements and must be the same size (or either can be scalar).
Examples
See Also
lastwarn | ldivide, rdivide |
© 1994-2005 The MathWorks, Inc.