Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Complete the following in MATLAB please: - define the transformation parameters to user desired values: Dx, Dy, Sx, Sy, and - read a shape data
Complete the following in MATLAB please:
- define the transformation parameters to user desired values: Dx, Dy, Sx, Sy, and - read a shape data file and store the vertex data in an array - modify the vertex array into a homogeneous coordinate matrix (MATLAB tip, try: A(3,:)=1 ) - using the functions written earlier, generate the transformation matrices T,S, R and calculate M - for each shape, create the following 4 plots (there should be 16 plots in total for the lab) : - plot of original and translated shape - plot of original and scaled shape - plot of original and rotated shape - plot of original and combined transformation shape - make the origin visible and the X and Y limits the same, by adjusting the axes make sure all plots are labeled. Create 4 separate shape data files using MS-Excel: - a triangle - a square - a concave polygon - a polygon of your choice. The vertex data file must only contain the vertex data arrange with each vertex in a column as shown here: Assemble the program and demonstrate it on the 4 separate shapes ( 4 separate plots for each shape - a total of 16 plots!)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