- 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
-
2176 Solvers
-
Project Euler: Problem 5, Smallest multiple
1650 Solvers
-
Back to basics 9 - Indexed References
461 Solvers
-
Check if number exists in vector
13835 Solvers
-
Check that number is whole number
5196 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!