% 3-vector from skew matrix S see PCV (A.34) Usage: x = calc_v_from_S(S) S - 3x3 skew matrix x - 3x1 vector Wolfgang Förstner wf 1/2011 wfoerstn@uni-bonn.de See also calc_S, calc_S_reduced
0001 %% 3-vector from skew matrix S 0002 % see PCV (A.34) 0003 % 0004 % Usage: 0005 % x = calc_v_from_S(S) 0006 % 0007 % S - 3x3 skew matrix 0008 % x - 3x1 vector 0009 % 0010 % Wolfgang Förstner wf 1/2011 0011 % wfoerstn@uni-bonn.de 0012 % 0013 % See also calc_S, calc_S_reduced 0014 0015 function x = calc_v_from_S(S) 0016 x=[S(3,2); S(1,3); S(2,1)];