smooth
Syntax
Description
[
runs a backward recursion to obtain smoothed states, covariances, and model probabilities at
the previous steps for a smoothX
,smoothP
,modelProbability
] = smooth(imm
)trackingIMM
filter, imm
. The function determines the number of backward steps based
on the number of executed forward steps F and the maximum number of
backward steps MB specified by the
MaxNumSmoothingSteps
property of the filter
. If
F < MB, the number of backward steps is
F – 1. Otherwise, the number of backward steps is
MB.
The number of forward steps is equal to the number of calls to the
predict
object function of the filter. The backward steps do not
include the current time step of the filter.
[
specifies the number of backward smoothing steps smoothX
,smoothP
,modelProbability
] = smooth(imm
,numBackSteps
)numBackSteps
. The
value of numBackSteps
must be less than or equal to the smaller of
F – 1 and MB, where F is the
number of executed forward steps and MB is the maximum number of backward
steps specified by the MaxNumSmoothingSteps
property of the filter.
Note
Use this function for trackingIMM
filter. To run backward recursion to obtain smoothed states for other filters, see
smooth
.
Examples
Input Arguments
Output Arguments
References
[1] Nadarajah, N., R. Tharmarasa, Mike McDonald, and T. Kirubarajan. “IMM Forward Filtering and Backward Smoothing for Maneuvering Target Tracking.” IEEE Transactions on Aerospace and Electronic Systems 48, no. 3 (July 2012): 2673–78. https://doi.org/10.1109/TAES.2012.6237617.
Extended Capabilities
Version History
Introduced in R2021a