ConstantVelocityModel
Description
A ConstantVelocityModel object defines the constant-velocity state
transition model. You can use this model to define the state transition model for a CustomTarget. The
state transition model of the CustomTarget specification defines the state
convention for trackers initialized with it. For a ConstantVelocityModel, the
associated state conventions follow.
| Motion Dimension | State Convention |
|---|---|
| 1 | [x;vx] |
| 2 | [x;vx;y;vy] |
| 3 | [x;vx;y;vy;z;vz] |
x,y, andzrepresent the x-, y-, and z-coordinates in meters.vx,vy, andvzrepresent the velocity components in different directions in meters per second.
Creation
To create a ConstantVelocityModel object, use the targetStateTransitionModel function with the
"constant-velocity" input argument. For example:
stateTransModel = targetStateTransitionModel("constant-velocity")Properties
Algorithms
For a two-dimensional constant-velocity process, the state transition matrix after a time step, T, is block diagonal as shown here.
The block for each spatial dimension is:
For each additional spatial dimension, add an identical block.
Version History
Introduced in R2025a