- 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 Solvers95
Suggested Problems
-
Read a column of numbers and interpolate missing data
2356 Solvers
-
Project Euler: Problem 7, Nth prime
1778 Solvers
-
Switch matrix to a column vector
378 Solvers
-
Returning a "greater than" vector
278 Solvers
-
construct matrix with identical rows
209 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!