smooth
Description
[
runs a backward recursion to obtain smoothed states and covariances at the previous steps
for a tracking filter, smoothX
,smoothP
] = smooth(filter
)filter
. 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
] = smooth(filter
,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 tracking filters other than trackingIMM
.
To run backward recursion to obtain smoothed states for trackingIMM
filter, see smooth
.
Examples
Input Arguments
Output Arguments
References
[1] SÄrkkÄ, Simo. “Unscented Rauch--Tung--Striebel Smoother.” IEEE Transactions on Automatic Control, 53, no. 3 (April 2008): 845–49. https://doi.org/10.1109/TAC.2008.919531.
[2] Rauch, H. E., F. Tung, and C. T. Striebel. “Maximum Likelihood Estimates of Linear Dynamic Systems.” AIAA Journal 3, no. 8 (August 1965): 1445–50. https://doi.org/10.2514/3.3166.
Extended Capabilities
Version History
Introduced in R2021a