%% Create Measurement from Constant-Velocity Object in Rectangular Frame
% Define the state of an object in 2-D constant-velocity motion. The state is the position and velocity in both dimensions. The measurements are in rectangular coordinates.

state = [1;10;2;20];
measurement = cvmeas(state)

% The z-component of the measurement is zero.
% Copyright 2012 The MathWorks, Inc.
%