%% Predict State for Constant-Acceleration Motion With Specified Time Step
% Define an initial state for 2-D constant-acceleration motion.

state = [1;1;1;2;1;0];

%
% Predict the state 0.5 s later.

state = constacc(state,0.5)

% Copyright 2017 The MathWorks, Inc.