%% Calculate the Natural Logarithm of Quaternion
% This example shows how to calculate the natural logarithm of quaternion matrix q=[1.0 0 1.0 0].

qlog = quatlog(quatnormalize([1.0 0 1.0 0]))

% Copyright 2012 The MathWorks, Inc.