particleFilter.estimates
Set or return the estimates for a particle filter
Syntax
Description
Provides a set of observation estimates (Ye) for a particle filter. Overwrites any previously input estimates. Each row hold the estimates for a particular site, and each column holds the estimates for an ensemble member. Each element along the third dimension holds the estimates for a particular prior in an evolving set. If using a static prior, Ye should have a single element along the third dimension. Otherwise, Ye must have one element along the third dimension per assimilation time step - in this case, the particle filter will use the indicated set of estimates for each assimilated time step.
Indicate which set of estimates to use in each assimilation time step. This syntax allows the number of sets of estimates (i.e. the number of priors) to differ from the number of time steps.
[Ye, whichPrior] = obj.estimates
Returns the current estimates for the particle filter object, and indicates which set of estimates (i.e. which prior) is used in each assimilation time step.
obj = obj.estimates(‘delete’)
Deletes any current estimates from the particle filter object.