Question: MAT 3 4 3 LAB 4 Problem 4 Adapt the procedure developed in Exercise 3 , to Rescale the axis by using axis ( -
MAT LAB Problem
Adapt the procedure developed in Exercise to
Rescale the axis by using axis
Enter the rotation matrix that rotates counterclockwise by increments of about the origin and store it in the variable Q
Enter the dilation matrix tr dilates by a factor of and store it in the variable D
Use Q D and a for loop to rotate the square about the origin by increments of for a total angle of and expanding at the same time by a factor of
Enter the contraction matrix that contracts by a factor of and store it in D
Enter the rotation matrix that rotates the square clockwise by increments of about the origin and store it in the variable Q
Use Q D and a for loop to rotate the square clockwise by increments of for a total angle of and contracting it until it shrinks to its original size and original location.
For your convenience the main part of the code, taken from Example is included in the script box. Fill in the missing parts. Don't forget to include your name in the script.
NOTES:
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
