Question: The code is for MATLAB GRADER, please only use basic coding with no loops like while. Write an m-file script that will plot an object
The code is for MATLAB GRADER, please only use basic coding with no loops like while.
Write an m-file script that will plot an object in circular motion. . The script must take advantage of vectorized operations . the script should plot one complete "orbit" the a=amplitude should be set 42 . Using the following two equations for position (coordinates) of an object in circular motion: X(t)=a* sin(t) y(t)=a* cos(t) Your code must assign the appropriate value to the following variables and perform the specified actions t = values from 0 to that needed for a full circle. Increments of 0.01 . X and y as calculated above Plot of the circular motion, x and y, used appropriately. Plot should be well labeled
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
