Problem 1019. Vector LCM
- 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 commentsProblem Recent Solvers90
Suggested Problems
-
4339 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2136 Solvers
-
Find the maximum number of decimal places in a set of numbers
2528 Solvers
-
460 Solvers
-
259 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!