Question: My role number is = 3 0 2 0 2 Develop a generalize MATLAB code to * perform the following transformations on a pentagon defined
My role number is
Develop a generalize MATLAB code to perform the following transformations on a pentagon defined by the points A B C D and E where the coordinates are based on the last two digits of your roll number: Function for generation of the coordinates of pentagon is provided below
please tell me all detailed coding like as beginer
A: X Y
B: XY
C: X Y
D: X Y
E: X Y
Perform the following transformations on the pentagon:
a Translation of all the points by in x and y directions.
b Shear the original pentagon with shy
c Rotate the original pentagon about the yaxis by degrees.
d Reflect the whole pentagon about the yaxis.
Plot all transformations in a single figure window.
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
