%% Update State for Constant-Velocity Motion with Specified Time Step
% Update the state of two-dimensional constant-velocity motion for a time interval of 1.5 seconds.

state = [1;1;2;1];
state = constvel(state,1.5)

% Copyright 2017 The MathWorks, Inc.