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

6 lines
92 B
Matlab
Raw Permalink Normal View History

2020-10-03 22:55:14 +02:00
function R = VectorCrossMatrix (r)
R = [0, -r(3), r(2);
r(3), 0, -r(1);
-r(2), r(1), 0];