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
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers196
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2791 Solvers
-
Check if number exists in vector
13550 Solvers
-
Replace multiples of 5 with NaN
463 Solvers
-
Element by element multiplication of two vectors
393 Solvers
-
10953 Solvers
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!