Question: (5.75,5.75,3.0,6.0) QUESTION 2a: (4 pts) First, we need to make the center of the square (the blue square) coincide with the origin (the orange square).


(5.75,5.75,3.0,6.0) QUESTION 2a: (4 pts) First, we need to make the center of the square (the blue square) coincide with the origin (the orange square). Construct a translation matrix that translates the center of the square, point (23,23)(0,0) Store it in Python variable as 33 matrix. To help you visualize the transformation consider the figure below. \# original points x=[3,3,0,0,3] y=[0,3,3,0,0] # transformed points xp=[1.5,1.5,1.5,1.5,1.5] yp=[1.5,1.5,1.5,1.5,1.5] \# plot plt.plot (x,y,"") plt.plot (xp,yp,"")# diamond plt.axis ([5.75,5.75,3,6])
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
