simlogo1

 

 

 

SimQuest 6.4 help

 

 

Min

 

When applied to two numbers or to two arrays of numbers, Min produces the smallest of the two numbers or an array of the smallest values of corresponding components, respectively.
It has three variables: in1, in2 and out.

 

Structure (for scalars):

       if in1 >= in2 then out becomes in2

       if in1 < in2 then out becomes in1

 

Examples:

       in1 = 3, in2 = 9 => out = 3

       in1 = 8, in2 = 2 => out = 2

       in1 = (1, 2), in2 = (2, 1) => out = (1, 1)

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011