v=10; % m/s
x=0;  % m
a=10;  % m/s^2
xx=[x];
vv=[v];
tt=[0];
dt=0.5;
for t=0:dt:10
  x = x+ v*dt;
  v = v+ a*dt;
  xx = [xx x];
  vv = [vv v];
  tt = [tt t];
end
hold on
% plot (xx, vv, 'r*')
plot (tt,xx, 'g*')
plot (tt,vv, 'b.')