<< ld_andInt32 basic_ldblocks ld_belowEpsForNStepsAdvanced >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_belowEpsForNSteps

ld_belowEpsForNSteps

return true, when input is below a constant for more than N sampling steps

Calling Sequence

[sim, reached] = ld_belowEpsForNSteps(sim, ev, in, thr, N)

Description

in * - input signal

thr - threshold constant

N - integer

If in is below thr for more than N time steps, reached = 1;

Otherwise reached is set to 0.


Report an issue
<< ld_andInt32 basic_ldblocks ld_belowEpsForNStepsAdvanced >>