%% Direction Cosine Matrix from Angles
% Calculate direction cosine matrix from rotation angles.

yaw = 0.7854;  
pitch = 0.1; 
roll = 0;
dcm = angle2dcm( yaw, pitch, roll )

% Copyright 2015 The MathWorks, Inc.