Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Maximum in a list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97265] Re: Maximum in a list
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Mon, 9 Mar 2009 01:08:12 -0500 (EST)
  • References: <gp07ul$l0o$1@smc.vnet.net>

pacotomi wrote:

> mylist={{1,2},{3,4},{8,3}}

Try this

Cases[mylist,{_,Max[mylist[[All,2]]]}]

-- 
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • 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