Question: Using MATLAB: Write a script for the following scenario: A 2D rigid body undergoes rectilinear translation. We know the location of two points on the
Using MATLAB:
Write a script for the following scenario: A 2D rigid body undergoes rectilinear translation. We know the location of two points on the rigid body in its initial position: =0+0 metres and =4+0 metres. Point A on the rigid body follows the path y = 2x+3 from Ax= 0 m to Ax = 60 metres. Create two matrices, one for point A and one for point B, that describe the coordinates of each point as A moves from 0 to 60 metres at 3 metre increments in the x direction. Plot the position vector at each increment throughout the rigid bodys trajectory. Your code should result in the plot shown below but should use different plot symbols and colours.

Lab 2 Trajectory 150 + + + + + + + y (metres) + + + + + + + + + + + + 0 10 20 50 60 70 30 40 * (metres)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
