<< ld_collectValues basic_ldblocks ld_compare_01 >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_compare

ld_compare

compare block.

Calling Sequence

[sim,y] = ld_compare(sim, events, in,  thr)

Description

thr - constant

in * - signal

y *

If in &gt; thr: y = 1; else y = -1

Please note: returns -1 for in == 0


Report an issue
<< ld_collectValues basic_ldblocks ld_compare_01 >>