sbioensemblestats
Get statistics from ensemble run data
Syntax
[
t,m
] = sbioensemblestats(simDataObj
)
[t,m,v
] = sbioensemblestats(simDataObj
)
[t,m,v,n
] = sbioensemblestats(simDataObj
)
[t,m,v,n
] = sbioensemblestats(simDataObj
,names
)
[t,m,v,n
] = sbioensemblestats(simDataObj
,names
,interpolation
)
Arguments
| Column vector of time points |
| Matrix of mean values from the ensemble data. The number of
rows in is the length
of the time vector and
the number of columns is equal to the number of species. |
| A cell array of SimData objects, where each SimData object
holds data for a separate simulation run. All elements of must
contain data for the same states in the same model. When the time
vectors of the elements of are
not identical, is
first resampled onto a common time vector (see below). |
| Matrix of variance obtained from the ensemble data. has
the same dimensions as . |
| Cell array of character vectors for the quantity names whose
mean and variance are returned in and ,
respectively. The number of elements in is
the same as the number of columns of and .
The order of names in corresponds
to the order of columns of and . |
| Character vector, string, string vector, string array, or cell array of character vectors.
may
include qualified names such as
'
or
'
to resolve ambiguities. If you specify empty {}
or empty string array (string.empty ) for
,
sbioensemblestats returns statistics on all
time courses contained in
. |
| Character vector or string denoting the interpolation method to use for resampling of the
data onto a common time vector with the smallest simulation stop
time. See resample for a list
of interpolation methods. Default is
'linear' . |
Description
[
computes
the time-dependent ensemble mean t,m
] = sbioensemblestats(simDataObj
)
of
the ensemble data m
.
If the time vectors of the ensemble data are not identical, by default,
the function uses the simDataObj
'linear'
interpolation method
to resample the data onto the common time vector. See resample
for a list of interpolation
methods.
[
also
returns the variance t,m,v
] = sbioensemblestats(simDataObj
)
for
the ensemble run data v
.simDataObj
[
also
returns the names of quantities t,m,v,n
] = sbioensemblestats(simDataObj
)n
corresponding
to the mean m
and variance v
columns.
Each column of m
or v
describes
the ensemble mean or variance of a quantity (or state) as a function
of time.
[
computes
statistics only for the quantities specified by t,m,v,n
] = sbioensemblestats(simDataObj
,names
)names
.
[
uses
the interpolation method t,m,v,n
] = sbioensemblestats(simDataObj
,names
,interpolation
)
to
resample the simulation data to have a consistent time vector. If
the time vectors of the ensemble data are not identical and if you
do not specify any interpolation method, the function uses the interpolation
'linear'
interpolation
method by default.
Examples
Version History
Introduced in R2006a