trvec= tform2trvec(tform)extracts the Cartesian representation of translation vector,trvec, from a homogeneous transformation,tform. The rotational components oftformare ignored. The input homogeneous transformation must be in the premultiply form for transformations.
Homogeneous transformation, specified by a 4-by-4-by-nmatrix ofnhomogeneous transformations. The input homogeneous transformation must be in the premultiply form for transformations.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.