tform = trvec2tform(trvec)
converts the Cartesian representation of the translation vector
trvec to the corresponding homogeneous
transformation tform. When using the
transformation matrix, premultiply it by the coordinates to be
transformed (as opposed to postmultiplying).
Cartesian representation of a translation vector,
specified as an n-by-2 matrix if
tform is a
3-by-3-by-n array and an
n-by-3 matrix if
tform is a
4-by-4-by-n array.
n is the number of translation
vectors. Each vector is of the form
[xy] or [xyz].
Homogeneous transformation, returned as a
3-by-3-by-n array or
4-by-4-by-n array.
n is the number of homogeneous
transformations. When using the rotation matrix,
premultiply it with the coordinates to be rotated
(as opposed to postmultiplying).
Example: [0 0 1 0; 0 1 0 0; -1 0 0 0; 0 0 0
1]
2-D homogeneous transformation matrices are of the form:
3-D homogeneous transformation matrices are of the form:
The trvec argument now accepts 2-D translation
vectors as a n-by-2 matrix and
trvec2tform outputs 2-D homogeneous
transformation matrices as a 3-by-3-by-n
array.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.