This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Likelihood of measurement


measLikelihood = likelihood(filterObj,zMeas)
[measLikelihood = likelihood(filterObj,zMeas,measurementParams)


measLikelihood = likelihood(filterObj,zMeas) returns the likelihood of a measurement given by the specified filter, filterObj.

[measLikelihood = likelihood(filterObj,zMeas,measurementParams) specifies additional parameters that are used by the MeasurementFcn of the filterObj.

Input Arguments

collapse all

Filter for object tracking, specified as an object. Calling the predictoverwrites the internal states of the object.

Measurement of the tracked object, specified a vector, or matrix.

Parameters for measurement function, specified as a cell array. The parameters are passed to the measurement function defined in the MeasurementFcn of the filterObj

Output Arguments

collapse all

Likelihood of measurement, returned as a scalar.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2018b