Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1019. Vector LCM

Created by AMITAVA BISWAS
  • 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

Tags

Problem Group

Solution Statistics

48 correct solutions 5 incorrect solutions
Last solution submitted on Sep 10, 2014