MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Min


hans.steffani at e-technik.tu-chemnitz.de (Hans Steffani) writes:

>As we all know, Min[] returns the value of its
>smallest argument. Is there a way to find out
>which of the arguments is the smallest one?

Sometimes news are olds. ;-)

I got one answer myself.

list={1., 2.,.933,.324}
First[Min[list], Position[list] ]

helped me. The First[] is necessary as the minimum can
occure more than once in list.

h.f.s.
--
Hans Friedrich Steffani
Institut fuer Elektrische Maschinen und Antriebe
TU Chemnitz-Zwickau
e-mail: hans.steffani at e-technik.tu-chemnitz.de


  • Prev by Date: running on IBM RS6000 Model 43P
  • Next by Date: Special Nonlinear Fitting?
  • Previous by thread: Min
  • Next by thread: wierd REmove behavior