MathGroup Archive 2009

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

Search the Archive

Re: Maximum in a list


Hi,

Part[mylist, Position[mylist, Max[Last /@ mylist]][[1, 1]]]

??

Regards
   Jens

pacotomi wrote:
> Hi,
>  Suppose a list
> 
> mylist={{1,2},{3,4},{8,3}}
> 
> 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?
> 
> Pacotomi
> 
> 
> 
>  
> 


  • Prev by Date: Re: Maximum in a list
  • Next by Date: Re: Maximum in a list
  • Previous by thread: Re: Maximum in a list
  • Next by thread: Re: Maximum in a list