End indexing for quaternion/octonion arrays
(Quaternion and octonion overloadings of standard MATLAB® function)
e = end(a, k, n)
end overloads a fundamental MATLAB® operation for quaternion arrays in order to make possible indexing such as A(2:end, 2:end). It is not normally called directly as a function.