Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Another question on lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80618] Another question on lists
  • From: "Mauricio Esteban Cuak" <cuak2000 at gmail.com>
  • Date: Sun, 26 Aug 2007 23:20:22 -0400 (EDT)

Hello again.Thank you very much for your previous help. However, I
seem to stumble on another rock:

I  have a list of n sub-lists with different number of elements. I
want to select the list with the highest number of elements.
I tried to combine the Select function with Lenght but couldn't do it:

Select[list, Length /@ list >= Max[Length /@ list] &]

Thanks for reading.

Regards,

cd

P.D.: Any tips,websites, books, on how to learn some basic programming
on Mathematica?
I'm slowly beginning to read "The Mathematica Book"...should I just
concentrate on that?


  • Prev by Date: Re: Improper Integral & Mathematica
  • Next by Date: Re: Improper Integral & Mathematica
  • Previous by thread: Re: Bookmarks manager for the Documentation Center [DC]?
  • Next by thread: Re: Another question on lists