AP Physics 1

Velocity Lab Data Plotting Using Matlab

Here we are plotting one of the required data sets for the walking at constant velocity experiment using matlab. You will have more plots, but they are done in the same manner

Matlab Script

time=[2.58 4.58 6.83]
distance=[3 6 9]
grid on
xlabel('Time (seconds)')
ylabel('Position (metre)')
title('Claire walking a 1 m/s')

Plot from above Code

Sketch 1
Base Plot No Curve Fit

Plot after selecting Basic Statistics

Sketch 1
Base Plot With Curve Fit

Be sure to select Linear and check the box to display the equation. The slope of 1.4 m/s was the speed that the student was walking.