Exam 1
Exam 1
*from MITx
i) Extract the time data from column 1 and assign that to a new matrix “t”.
ii) Extract the position data from column 2 and assign that to a new matrix “x”.
iii) Plot “x” vs. “t”.
iv) Extract only the first 50 time points from column 3 and make a new matrix “t2”.
v) Extract only the first 50 positions from column 4 and make a new matrix “x2”.
vi) Plot “x2” vs. “t2”.
vii) Superimpose both trajectories. Plot them in different color.