<< ld_vector_extractandsum basic_ldblocks ld_vector_gain >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_vector_findthr

ld_vector_findthr

find value that is grater as an constant

Calling Sequence

[sim, index] = ld_vector_findthr(sim, events, in, thr, greater, vecsize)

Description

in *+(vecsize) - input

thr * - threshold signal

index * - output

find values greater than threshold &quot;thr" in vector signal "in", when greater > 0

find values less than threshold &quot;thr" in vector signal "in", when greater =< 0

<< ld_vector_extractandsum basic_ldblocks ld_vector_gain >>