initialize
Initialize the state of the particle filter
Syntax
Description
initialize(
initializes the particle filter object, pf
,numParticles
,mean
,covariance
)pf
,
with a specified number of particles,
numParticles
. The initial states of the
particles in the state space are determined by sampling from the
multivariate normal distribution with the specified
mean
and
covariance
.
initialize(
determines the initial location of the particles by sample from the
multivariate uniform distribution within the specified
pf
,numParticles
,stateBounds
)stateBounds
.
initialize(___,Name,Value)
initializes the particles with additional options specified by one
or more Name,Value
pair arguments.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2016a
See Also
stateEstimatorPF
| resamplingPolicyPF
| getStateEstimate
| predict
| correct
Topics
- Track a Car-Like Robot Using Particle Filter (Robotics System Toolbox)
- Particle Filter Parameters
- Particle Filter Workflow