constvel
State transition function for constant-velocity motion model
Syntax
Description
returns the predicted state, predictedState = constvel(state)predictedState, obtained from the
current state, state, based on the constant-velocity motion
model. The default time step is 1 second.
specifies the time step, predictedState = constvel(state,dt) dt.
also specifies state noise, predictedState = constvel(state,w,dt)w.
Examples
Input Arguments
Output Arguments
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.
Extended Capabilities
Version History
Introduced in R2018b