Member of the basic class.
c = gcd(a, b)
[c, d, e] = gcd(a, b)
Computes the pairwise greatest common divisor of the input elements.
| Name | Description |
| a | Specifies a scalar or matrix. All elements of a must be positive integers. |
| b | Specifies a scalar or matrix of the same size as a. All elements of b must be positive integers. |
| Name | Description |
| c | Returns the greatest common divisor of a and b. c is a matrix of the same size as a or b. |
| d | Returns a matrix of the same size as a or b such that c = a.*d+b.*e. |
| e | Returns a matrix of the same size as a or b such that c = a.*d+b.*e. |
A = 234
B = 98
C = gcd(A, B)