- 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
-
596 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14229 Solvers
-
Basics: 'Find the eigenvalues of given matrix
440 Solvers
-
248 Solvers
-
The sum of the numbers in the vector
647 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!