correct
Correct state and state estimation error covariance using tracking filter
Syntax
Description
[
returns the corrected state, xcorr
,Pcorr
] = correct(filter
,zmeas
)xcorr
, and the corrected state
estimation error covariance, Pcorr
, for the next time step of the
input tracking filter based on the current measurement, zmeas
. The
corrected values overwrite the internal state and state estimation error covariance of
filter
.
[
specifies additional parameters used by the measurement function that is defined in the
xcorr
,Pcorr
] = correct(filter
,zmeas
,measparams
)MeasurementFcn
property of filter
. You can
return any of the outputs from preceding syntaxes.
If filter is a trackingKF
or trackingABF
object, then
you cannot use this syntax.
correct(
updates
filter
,___)filter
with the corrected state and state estimation error
covariance without returning the corrected values. Specify the tracking filter and any of
the input argument combinations from preceding syntaxes.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2017a
See Also
clone
| correctjpda
| distance
| initialize
| likelihood
| predict
| residual