Cody

Problem 43171. Basic commands - Greatest common divisor

Please write a function, which, will put as output greatest common divisor.

Example:

   A = [-5 17; 
         10 0];
    B = [-15 3; 
         100 0];
    Y = [ 5     1
         10     0];

Solution Stats

88.18% Correct | 11.82% Incorrect
Last Solution submitted on Mar 23, 2020

Problem Comments