%% Determine direction cosine matrices from multiple quaternions
% This example shows how to determine the direction cosine matrices from multiple quaternions.

q = [1 0 1 0; 1 0.5 0.3 0.1]; 
dcm = quat2dcm(q)

% Copyright 2012 The MathWorks, Inc.