Convert angle and vector orientation to a homogeneous transform
T = angvec2tr(theta, v) is a homogeneous transform matrix (4x4) equivalent to a rotation of theta about the vector v.
eul2tr, rpy2tr, angvec2r, tr2angvec
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.