Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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

64 correct solutions 7 incorrect solutions
Last solution submitted on Dec 10, 2015