Main Content


Merge components in the density of phd filter


merge(phd,mergingThreshold) merges components whose Kullback-Leibler difference is below the threshold, mergingThreshold.

Input Arguments

collapse all

phd filter, specified as a ggiwphd filter object or a gmphd filter object.

Example: phd

Data Types: object

Threshold for components merging, specified as a real positive scalar. If the Kullback-Leibler difference between two components is smaller than the value specified by the mergingThreshold argument, then these two components will be merged into one component. The merged weight of the new component is equal to the summation of the weights of the two pre-merged components.

Example: 30

Data Types: single | double

Extended Capabilities

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

Version History

Introduced in R2019a