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

87.88% Correct | 12.12% Incorrect
Last solution submitted on Jul 07, 2019

Problem Comments