M-File Help: tr2rt View code for tr2rt

tr2rt

Convert homogeneous transform to rotation and translation

[R,t] = tr2rt(TR) split a homogeneous transformation matrix (NxN) into an orthonormal rotation matrix R (MxM) and a translation vector t (Mx1), where N=M+1.

A homogeneous transform sequence TR (NxNxK) is split into rotation matrix sequence R (MxMxK) and a translation sequence t (KxM).

Notes

See also

rt2tr, r2t, t2r


 

© 1990-2012 Peter Corke.