Vector component of a quaternion
r = v(q), r = vector(q)
These two functions extract the vector component of a quaternion. The result is always a pure quaternion. The two functions are synonyms.
>> q = randq(2) q = 2x2 quaternion array >> v(q) ans = 2x2 pure quaternion array >> vector(q) == v(q) ans = 1 1 1 1