Problem 1018. Array GCD

  • Find Greatest Common Divisor in a given array
  • Function Template:
function ans = arraygcd(a)
   % a=[45 15 200 300];
   5;
end

Solution Stats

57.14% Correct | 42.86% Incorrect
Last Solution submitted on Sep 05, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers106

Suggested Problems

More from this Author100

Problem Tags

gcd

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!