Rotation about a point
Ältere Kommentare anzeigen
Hi there I have been given a problem:
"A triangle is defined by the points (1, 1), (2, 4) and (7, 2). Using the three constituent simple transformations, transform the triangle with a rotation about the point (1, 3) by 60◦ anti-clockwise".
If I am being honest I have no idea how to start this
Any help would be great
Daniel
2 Kommentare
madhan ravi
am 15 Nov. 2018
why do you close the question?
madhan ravi
am 15 Nov. 2018
If you keep closing the question , you wont get any further help hereafter
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 15 Nov. 2018
Bearbeitet: madhan ravi
am 15 Nov. 2018
x=[1 2 7 1];
y=[1 4 2 1];
fig=figure
h=plot(x,y)
center = [1 3];
rotate(h,center,-60)
title('ROTATED TRIANGLE @CENTER (1,3) anticlockwise')
print(fig,'Rotated_triangle','-dpng')
fig1=figure
plot(x,y)
title('ORIGINAL TRIANGLE')
print(fig1,'Orignal_triangle','-dpng')
4 Kommentare
Daniel Campbell
am 15 Nov. 2018
madhan ravi
am 15 Nov. 2018
if my answer worked make sure to accept the answer
Daniel Campbell
am 15 Nov. 2018
madhan ravi
am 15 Nov. 2018
see edited answer
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!