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

MathGroup Archive 2004

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

Search the Archive

Re: extracting a list to a list, help please

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46178] Re: [mg46155] extracting a list to a list, help please
  • From: "Sseziwa Mukasa,,(978) 536-2359" <mukasa at jeol.com>
  • Date: Tue, 10 Feb 2004 00:05:46 -0500 (EST)
  • References: <200402091054.FAA20948@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Feb 9, 2004, at 5:54 AM, Serge wrote:

> Hello,
>
> I am a beginner in Mathematica and I have a rather simple question. I
> made some calculations that I need for an orbit and I have a list that
> look like this:
>
> mylist1 = {{a1,b1,c1,d1},{a2,b2,c2,d2},{a3,b3,c3,d3},etc}
>
> All I want to do is to make a list of the form
>
> mylist2 = {{a1,b1},{a2,b2},{a3,b3},etc}
>
> from the original list (mylist1),
>

Take[#,2]&/@mylist1

Regards,

Ssezi


  • Prev by Date: Re: Algebraic Manipulation
  • Next by Date: Mathematica 2.2 and 'EllipticIntegrate' package problem
  • Previous by thread: extracting a list to a list, help please
  • Next by thread: Re: extracting a list to a list, help please