Question: MAT 3 4 3 LAB 4 Problem 3 Download and run the LiveScript MAT 3 4 3 LAB 4 ex 3 . mlx ( for

MAT 343 LAB 4 Problem 3
Download and run the LiveScript MAT343LAB4ex3.mlx (for your convenoience a pdf version is also provided).
Adapt the procedure developed in the LiveScript, Example 6, to
37
ients
CLAS
AZ
es
bility
rse Policies
Rescale the axis by using axis (,2,2,-2,2)
Enter the rotation matrix that rotates counterclockwise by increments of 6 about the origin and store it in the variable Q.
Use Q and a for loop to rotate the square about the origin until the square is in its original location. Hint. think about how many times you y through the loop, keeping in mind that you are rotating the square counterclockwise for a full circle by increments of 6.
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 and a for loop to rotate the square until it is in its original location again.
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 yc script.
NOTES:
When you Run the script, the animation will not show. To check that your animation is correct, it is recommended you create an Mand run it in MATLAB.
Don't forget to include your name in the script.
There is no partial credit on this problem.
Srrint?
 MAT 343 LAB 4 Problem 3 Download and run the LiveScript

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!