gcd
Greatest common divisor.
d=gcd(a,b)
Inputs
a An array of integers or a scalar integer.
b An array of integers of the same size as a or a scalar integer.
Outputs
d An array of integers of the same size as the inputs, which each element being the greatest common divisor of the corresponding elements of a and .


Example
>>gcd(36,54)
18
>>gcd(56,[10 20 8])
          2         4        8