User`s guide
Statistics
4-21
Statistics
The Statistics library provides fundamental statistical operations such as
minimum, maximum, mean, variance, and standard deviation. Most blocks in
the Statistics library support two types of operations:
•Basic operations
•Running operations
The blocks listed below toggle between basic and running modes using the
Running check box in the parameter dialog box:
•Histogram
•Mean
•RMS
•Standard Deviation
•Variance
An unchecked
Running box means that the block is operating in basic mode,
while a checked
Running box means that the block is operating in running
mode.
The Maximum and Minimum blocks are slightly different from the blocks
above, and provide a
Mode parameter in the block dialog box to select the type
of operation. The
Value and Index, Value, and Index options in the Mode
menu all specify basic operation, in each case enabling a different set of output
ports on the block. The
Running option in the Mode menu selects running
operation.
The following sections explain how basic mode and running mode differ:
•“Basic Operations”
•“Running Operations”
The
statsdem demo illustrates the operation of several blocks from the
Statistics library.
Basic Operations
A basic operation is one that processes each input independently of previous
and subsequent inputs. For example, in basic mode (with
Value and Index