step detection block
[sim, out] = ld_detect_step_event(sim, ev, in, eps)
Detect jumps in the signal "in".
Everytime a jump occurs "out" is an impulse with the intensity of the
value after the jump i.e. if a signal steps from 1 to 2 there
will be an impulse out = 2
if no steps occur, out is zero