[ top | up ]
Simple Statistics
Syntax
[ntimes,vals,labs] = simpstat(times,vals,labels);
Arguments
times
|
A column vector of times at which each val is measured.
|
vals
|
A column vector of data.
|
labels
|
A column vector of labels indicated whether the data are valid.
1 indicates valid data, 0 indicates invalid data.
|
Returned Values
ntimes
|
The min and max time of the segment being analyzed.
|
nval
|
3 values: the mean, standard deviation, and skewness of the valid
data in the segment.
|
labels
|
The fraction of the data that was invalid.
|
Description
Computes very simple statistics on a segment of data.
Discards the invalid points, then computes the mean, standard deviation,
and skewness (mean of the 3rd moment, divided by the standard deviation
cubed)
References
See Also
segment statistics.
Examples