Saving the duration of a true signal





| Vector | C |
in the palette on the schematic
The block memorizes the duration of the signal (the duration of the presence of a signal or signals at the input) according to the following algorithm:

where xi(t) is the i-th element of the first vector input signal, yi(t) is the i-th element of the vector output signal, t – the current model time – time point of the pulse start.

Inputs

  • input - input signal.

Outputs

  • output - output pulse signal.

Properties

none

Parameters

none