Re: Maximum in a list
- To: mathgroup at smc.vnet.net
- Subject: [mg97250] Re: Maximum in a list
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 9 Mar 2009 01:05:23 -0500 (EST)
- References: <gp07ul$l0o$1@smc.vnet.net>
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
>
>
>
>
>