%% Determine rotation angles from multiple quaternions
% This example shows how to determine the rotation angles from multiple quaternions.

q = [1 0 1 0; 1 0.5 0.3 0.1];
[pitch, roll, yaw] = quat2angle(q, 'YXZ')

% Copyright 2012 The MathWorks, Inc.