Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started