MathGroup Archive 2009

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

Search the Archive

Re: Maximum in a list

  • To: mathgroup at
  • Subject: [mg97270] Re: Maximum in a list
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • Date: Mon, 9 Mar 2009 05:18:14 -0500 (EST)

Hi, Pacotomi,
try this:

In[26]:= yourlist = {{1, 3}, {4, 3}, {2, 5}, {7, 9}};

                 Table[yourlist[[i, 2]], {i, 1, Length[yourlist]}] // Max

Out[27]= 9

Best, A.

 Suppose a list


I would like to extract the element {i,j} of mylist for which j is max
(here, it is the second one {3,4}).

Somebody could help me, please?


Alexei Boulbitch, Dr., Habil.
Senior Scientist

ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern

Phone: +352 2454 2566
Fax:   +352 2454 3566


This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.

  • Prev by Date: Re: Notebook that auto-executes when opened?
  • Next by Date: Re: Differential equation with several variables in the function
  • Previous by thread: Re: Maximum in a list
  • Next by thread: Re: Maximum in a list