No BSD License  

Highlights from
Conversions among representations of 3D orientation

from Conversions among representations of 3D orientation by Hao Zhang
conversions among representations of 3D orientation

R=quat2rotmat(q)
function R=quat2rotmat(q)
  
  R=expmap2rotmat(quat2expmap(q));
  

Contact us at files@mathworks.com