step detection block
[sim, out] = ld_detect_step_event2(sim, ev, in, eps)
Detect jumps in the signal "in".
Everytime a jump occurs "out" is an impulse with an intensity of 1,
else it is zero