Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MAT 3 4 3 LAB 4 Problem 4 Adapt the procedure developed in Exercise 3 , to Rescale the axis by using axis ( -

MAT 343 LAB 4 Problem 4
Adapt the procedure developed in Exercise 3, to
Rescale the axis by using axis (-7,7,-7,7)
Enter the rotation matrix that rotates counterclockwise by increments of 6 about the origin and store it in the variable Q .
Enter the dilation matrix tr dilates by a factor of 76 and store it in the variable D1.
Use Q, D1 and a for loop to rotate the square about the origin by increments of 6 for a total angle of 2 and expanding at the same time by a factor of 76.
Enter the contraction matrix that contracts by a factor of 67 and store it in D2.
Enter the rotation matrix that rotates the square clockwise by increments of 6 about the origin and store it in the variable Q2.
Use Q2, D2 and a for loop to rotate the square clockwise by increments of 6 for a total angle of 2 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 6, is included in the script box. Fill in the missing parts. Don't forget to include your name in the script.
NOTES:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions