protot/3rdparty/rbdl/utils/matlab/VectorCrossMatrix.m

6 lines
92 B
Matlab
Raw Normal View History

function R = VectorCrossMatrix (r)
R = [0, -r(3), r(2);
r(3), 0, -r(1);
-r(2), r(1), 0];