xCorr = correct(abfilter,zMeas)
returns the corrected the state, xCorr, of the tracking filter
abfilter given the measurement, zMeas. Calling
correct overwrites the internal states of the object.
[xCorr,pCorr] = correct(abfilter,zMeas)
also returns the corrected state covariance matrix, pCorr.
xCorr — Corrected state of the filter L-by-1 vector
Corrected state of the filter, returned as an L-by-1 vector. The
corrected state overrides the value of the State property.
pCorr — Corrected state covariance of the filter L-by-L matrix
Corrected state covariance of the filter, returned as an
L-by-L matrix. The corrected state covariance
overrides the value of the StateCovariance property.
zCorr — Corrected measurement of the filter K-by-1 vector
Corrected measurement of the filter, returned as a K-by-1
vector.
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.