Maximum (rolling, sample-based)

Signature

Accumulate_Samples_Maximum(Expression, Count)

Description

Calculates the rolling maximum of an input signal for a defined number of samples.

Result

The maximum for the last Count input samples of Expression.

Arguments

 

expression

The signal for which the rolling maximum is calculated.

count

The number of samples for calculating the rolling maximum. It must be a constant value.