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 Solvers186
Suggested Problems
-
Calculate the area of a triangle between three points
3157 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
836 Solvers
-
Determine the number of odd integers in a vector
755 Solvers
-
convert matrix to single column
416 Solvers
-
Check that number is whole number
4586 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!