'subSample()'

subSample()

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Subsamples a clocked expressions as part of the synchronous language elements.

Syntax

subSample(u, factor)

Description

The clock of y = subSample(u,factor) is factor-times slower than the clock of u. At every factor ticks of the clock of u, the operator returns the value of u. The first activation of the clock of y coincides with the first activation of the clock of u. If argument factor is not provided or is equal to zero, it is inferred.