<< ld_belowEpsForNSteps basic_ldblocks ld_ceilInt32 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_belowEpsForNStepsAdvanced

ld_belowEpsForNStepsAdvanced

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

Calling Sequence

[sim, reached, count, countup, reset] = ld_belowEpsForNStepsAdvanced(sim, ev, in, thr, N)

Description

in * - input signal

thr - threshold constant

N - integer

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

Otherwise reached is set to 0.


Report an issue
<< ld_belowEpsForNSteps basic_ldblocks ld_ceilInt32 >>