%% Create Measurement from Accelerating Object in Spherical Frame
% Define the state of an object in 2-D constant-acceleration motion. The state is the position, velocity, and acceleration in both dimensions. The measurements are in spherical coordinates.

state = [1,10,3,2,20,5].';
measurement = cameas(state,'spherical')

% The elevation of the measurement is zero and the range rate is positive. These results indicate that the object is moving away from the sensor.
% Copyright 2017 The MathWorks, Inc.