polyout = translate(polyin,v)
returns a polyshape object defined by translating
polyin by v. The first element of
v specifies the distance to translate in the
x direction, and the second element specifies the distance to
translate in the y direction.
Input polyshape, specified as a scalar, vector, matrix,
or multidimensional array.
Data Types: polyshape
Translation distance, specified as a two-element row vector. The first
element of v specifies the distance to translate in the
x direction, and the second element specifies the
distance to translate in the y direction. Positive
distances translate right and up, and negative distances translate left and
down. When the input polyshape is an array, each element
of the array is translated according to v.
x translation distance, specified as a scalar. Positive
distances translate right, and negative distances translate left. When the
input polyshape is an array, each element of the array is
translated in the x direction according to
x.
y translation distance, specified as a scalar. Positive
distances translate up, and negative distances translate down. When the
input polyshape is an array, each element of the array is
translated in the y direction according to
y.
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.