Question: Create a vector time which has 25 equally spaced values between O and 5 seconds. (Use linspace function) Create a vectory theor which is based
Create a vector time which has 25 equally spaced values between O and 5 seconds. (Use linspace function) Create a vectory theor which is based on the 25 values created for time. y theor=4etime+time Create four vectors (trial x, trial yi, trial y2, trial y3) for the experimental data set below Plot y theor=4etime +time as a solid line. On the same axes add the 3 trials of data shown below as points (they are experimental values). Choose different colors and symbols for each. Label the axes Label the title Add a legend (which shows the solid line as theoretical, Trial 1, Trial, 2, and Trial 3 as their respective symbols / colors) in the top left corner of the plot. Y (cm) Trial 2 5 Y (cm) Trial 3 7 33 17 time (s) 0 0.75 1.5 2.25 3 3.75 4.5 Y (cm) Trial 1 10 11 25 32 46 160 475 3 37 39 55 175 505 29 40 50 140 464
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
