Main Content

scale

Scale weights of components in the density

Description

scale(phd,ScaleFactor) scales the weights of components in the density of the phd filter, phd, by factor, ScaleFactor.

Input Arguments

collapse all

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

Example: phd

Data Types: object

Scale factor of components in the density, specified as a positive scalar, or an 1-by-N vector of positive scalars, where N is the number of components in the density. If the scale factor is specified as a scalar, then the weight of each component is multiplied by this scalar. If the scale factor is specified as a vector, then the weight of each component is multiplied by the corresponding element in the vector.

Example: [0.9 1.1 0.8]

Data Types: single | double

Extended Capabilities

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

Version History

Introduced in R2019a