Print Friendly and PDF

Index of Vector Min or Max

Ryan Roper -

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 with True identifying the item(s) with the maximum value(s); and 2) a Boolean vector with True identifying the item(s) with the minimum value(s).

Experience Level:

Novice

Download the Model File:

Tags:

  • vector
  • array
  • statistics
Have more questions? Submit a request

Comments