- 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 Solvers92
Suggested Problems
-
Find relatively common elements in matrix rows
2151 Solvers
-
4495 Solvers
-
Remove white space from the string
208 Solvers
-
658 Solvers
-
Penny flipping - calculate winning probability (easy)
195 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!