- Find Least Common Multiple of a given vector.
- Need general solution as the test suite will be expanded.
- Function Template:
function ans = vectorLCM(v)
% v=[45 15 200 300];
1800;
end
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers93
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52808 Solvers
-
Find the sum of all the numbers of the input vector
53989 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
513 Solvers
-
473 Solvers
-
777 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!