MathGroup Archive 1997

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

Search the Archive

Re: Noah's List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5696] Re: Noah's List
  • From: Bob Stagat <stagat at mrcsb.com>
  • Date: Sat, 11 Jan 1997 14:29:00 -0500
  • Organization: Regional Alliance for Information Networking (RAIN)
  • Sender: owner-wri-mathgroup at wolfram.com

Hans Havermann wrote:
> 
> 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


Looks to me like all you want to do is say...

newlist = Transpose[{x,y}]


  • Prev by Date: Re: How to make Mathematica to return "Log[Exp[x]]" as x?
  • Next by Date: Reading external files
  • Previous by thread: Re: Noah's List
  • Next by thread: Re: Noah's List