MeanValueCount (FPScript)

21.09.2021

Counts a signal and determines the class mean values.

Syntax

MeanValueCount(Signal, ClassLimits)

 

The syntax of the MeanValueCount function consists of the following parts:

Part

Description

Signal

The signal to be analyzed.

Permitted data structures are data series, data matrix, signal, signal series und signal series with two-dimensional X-component. All real data types are permitted.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

ClassLimits

Contains a data series, which contains the class limits for the count. If ClassLimits contains n values, this leads to n-1 closed classes. The first or the last value in ClassLimits provides the lowest or highest limit of the class division. Values that lie outside the limits are not counted.

Permitted data structures are data series. All real data types are permitted. The unit has to be compatible with that of parameter Signal.

If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated.

Remarks

Void values will not be counted.

The result is a signal or a signal series with the arithmetic mean values of the values of each class. The X component then contains the mid-points of the class divisions specified as the argument ClassLimits.

Available in

Option Counting Procedures

Examples

MeanValueCount({1, 8.8, 9, 7, 5, 7, 6, 10, 2, 4, 2, 7}, (11., 0.5, 1))

Results in Signal({1., 2., 0., 4., 5., 6., 7., 0., 8.9, 10.}, (10, 1., 1.)). Calculates the arithmetic mean values based on the class division. 10 classes with a class width of 1 starting at 0.5 are specified.

See Also

MaximumValueCount Function

CompoundMaximumValueCount Function

SamplingCount Function

TimeAtLevelCount Function

Counting Procedures Option

Count Analysis Object

Share article or send as email:

You might be interested in these articles