Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started