dist = distance(abfilter,zMatrix)
computes the distance between one or more predicted measurements given in
zMatrix and the measurement predicted by the
abfilter object.
Alpha-beta tracking filter, specified as a phased.AlphaBetaFilter
object.
zMatrix — Measurements of tracked objects N-by-K matrix
Measurements of tracked objects, specified as an
N-by-K matrix where N is the
number of measurements. Each row of the matrix contains a measurement vector. The number
of columns, K, must match the measurement dimensions of the motion
model. This computation takes into account the covariance of the predicted state and the
process noise.
dist — Distances between measurements and filter predictions length-N row vector
Distances between measurements and filter predictions, returned as a row vector.
Each element corresponds to a distance between the predicted measurement coming from the
abfilter object and a row of zMatrix.
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.