Distances between measurements and predicted measurements
dist = distance(filterObj,zMatrix)
dist = distance(filterObj,zMatrix,measurementParams)
filterObj— Filter for object tracking
Filter for object tracking, specified as an object.
zMatrix— Measurements of tracked objects
Measurements of tracked objects, specified as a matrix. Each row of the matrix contains a measurement vector.
measurementParams— Parameters for measurement function
Parameters for measurement function, specified as a cell array. The parameters are
passed to the measurement function defined in the
property of the