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 LAB Problem
Download and run the LiveScript MATLABexmlx for your convenoience a pdf version is also provided
Adapt the procedure developed in the LiveScript, Example to
ients
CLAS
es
bility
rse Policies
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
Use 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 through the loop, keeping in mind that you are rotating the square counterclockwise for a full circle by increments of
Enter the rotation matrix that rotates the square clockwise by increments of about the origin and store it in the variable Q
Use Q 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 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?
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
