- 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
-
How to find the position of an element in a vector without using the find function
2814 Solvers
-
Count from 0 to N^M in base N.
240 Solvers
-
1452 Solvers
-
644 Solvers
-
Detect a number and replace with two NaN's
199 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!