Finding Vector Min and Max
Finding the Location of Minimum and Maximum Items in a Vector
This model demonstrates how you can create a Boolean vector identifying the location of the minimum or maximum items in a vector of values. The input is a vector of values. The output consists of two vectors: 1) a Boolean vector where True identifies the item(s) with the maximum value(s); and 2) a Boolean vector where True identifies the item(s) with the minimum value(s).