A,B — Input values scalars, vectors, or arrays of real, positive integer values
Input values, specified as scalars, vectors, or arrays of real,
positive integer values. A and B can
be any numeric type, and they can be of different types within certain
limitations:
If A or B is
of type single, then the other can be of type single or double.
If A or B belongs
to an integer class, then the other must belong to the same class
or it must be a double scalar value.
A and B must be the same
size or one must be a scalar.
L — Least common multiple real, positive integer values
Least common multiple, returned as an array of real positive
integer values. L is the same size as A and B,
and it has the same type as A and B.
If A and B are of different
types, then L is returned as the nondouble type.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.