<< ld_vector_lookup basic_ldblocks ld_vector_multscalar >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_vector_minmax

ld_vector_minmax

Min / Max of a vector (finds the first appearance of the minimum/maximum)

Calling Sequence

[sim, index, value] = ld_vector_minmax(sim, events, in, findmax, vecsize)

Description

Function is buggy somehow. Find maximum should work. Minimum perhaps not!

in *+(vecsize)

findmax greater than 0 means &quot;find the maximum"

index * - the index starting at 1, where the max / min was found

value * - min/max value


Report an issue
<< ld_vector_lookup basic_ldblocks ld_vector_multscalar >>