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

MathGroup Archive 1997

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

Search the Archive

Re: Noah's List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5709] Re: [mg5673] Noah's List
  • From: b5hafa at rz.uni-jena.de (Fabian Haas)
  • Date: Sat, 11 Jan 1997 14:29:06 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

>I have two lists, x and y, each containing n elements. I would like to
>generate a new list, {{x[[1]],y[[1]]}, {x[[2]],y[[2]]},...
>{x[[n]],y[[n]]}}, but have been unable to figure out a shorthand for it.
>Any help would be much appreciated.
>
>--
>HaHa
>Rarebit Dreams


Transpose[ {x, y}] should do





-------------------------------------------------------------------------
Dipl.Biol. Fabian Haas, MPhil
Institut f=FCr Spezielle Zoologie und Evolutionsbiologie
Erbertstr. 1
D-07743 Jena
Deutschland / Germany
TEL  ++ 49 361 630 424
=46AX  ++ 49 361 630 392
                               :-)  (-:
-------------------------------------------------------------------------




  • Prev by Date: Re: Noah's List
  • Next by Date: Image Processing: Mathematica?
  • Previous by thread: Re: Noah's List
  • Next by thread: Re: Noah's List