%% Determine division of two 1-by-4 quaternions
% This example shows how to determine the division of two 1-by-4 quaternions.

q = [1 0 1 0];
r = [1 0.5 0.5 0.75];
d = quatdivide(q, r)

% Copyright 2012 The MathWorks, Inc.