clear;
load('sample.out');
nt = length(sample);
for i=1:nt
    t(i)=sample(i,1);
    y(i)=sample(i,2);
    v(i)=sample(i,3);
    end
subplot(3,1,1)
plot(t,y),xlabel('t (s)'),ylabel('y (m)')
subplot(3,1,2)
plot(t,v),xlabel('t (s)'),ylabel('v (m/s)')
subplot(3,1,3)
plot(y,v),xlabel('y (m)'),ylabel('v (m/s)')
