<< ld_vector_extractandsum basic_ldblocks ld_vector_floorInt32 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_vector_findthr

ld_vector_findthr

Find the index of the value in a vector that is grater than a given 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


Report an issue
<< ld_vector_extractandsum basic_ldblocks ld_vector_floorInt32 >>