%% Determine rotation angles
% This example shows how to determine the rotation angles from q = [1 0 1 0].

[yaw, pitch, roll] = quat2angle([1 0 1 0])

% Copyright 2012 The MathWorks, Inc.