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

241 Solutions

203 Solvers

Last Solution submitted on Jan 28, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers203

Suggested Problems

More from this Author12

Problem Tags

Community Treasure Hunt

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

Start Hunting!