%% Update State for Constant-Velocity Motion
% Update the state of two-dimensional constant-velocity motion for a time interval of one second.

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

% Copyright 2012 The MathWorks, Inc.