particleFilter.observations
Set or return the observations for a particle filter
Syntax
Description
Provides the observation matrix (Y) to the particle filter object. Overwrites any previously existing observation matrix. Each row holds the observations for a particular site, and each column holds observations for an assimilation time step. Use a NaN value when a site does not have an observations in a particular time step. Inf and complex values are not allowed.
If you already provided observation uncertainties or estimates, then then number of rows must match the current number of sites for the particle filter object. If you previously provided evolving priors or evolving uncertainties, then the number of columns must match the current number of assimilation time steps for the object.
Y = obj.observations
Returns the current observation matrix for the particle filter object.
obj = obj.observations(‘delete’)
Deletes any current observation matrix from the particle filter object.