Euclidean Algorithm

Here are three Matlab scripts for looking at the Euclidean algorithm:

Euclid's version of the algorithm is in the first few propositions of Book VII of the Elements.