initialize
Initialize the state of the particle filter
语法
说明
initialize(
initializes a particle filter object with a specified number of particles. The initial states of the particles in the state space are determined by sampling from the multivariate normal distribution with the specified pf
,numParticles
,mean
,covariance
)mean
and covariance
. The number of state variables (NumStateVariables
) is retrieved automatically based on the length of the mean
vector.
initialize(
determines the initial location of pf
,numParticles
,stateBounds
)numParticles
particles by sampling from the multivariate uniform distribution with the given stateBounds
.
initialize(___,
initializes the particles with additional options specified by one or more Name,Value
)Name,Value
pair arguments.
示例
输入参数
名称-值参数
版本历史记录
在 R2017b 中推出