Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: How can I make a relation between two lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23698] Re: [mg23660] How can I make a relation between two lists
  • From: BobHanlon at aol.com
  • Date: Mon, 29 May 2000 12:24:27 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

In a message dated 5/28/2000 11:26:37 PM, kyklos at data.net.mx writes:

>Hi, I hope someone can help me. I've been looking for a function that can
>relate two or most lists to obtain a date, for example:
>
>x={1,2,3}
>y={3,2,1}
>
>I want something that establish that data like:
>
>{ {1,3}, {2,2}, {3,1} }
>

x = {x1, x2, x3, x4, x5};

y = {y1, y2, y3, y4, y5};

Transpose[{x, y}]

{{x1, y1}, {x2, y2}, {x3, y3}, {x4, y4}, {x5, y5}}


Bob

BobHanlon at aol.com


  • Prev by Date: Re: problem
  • Next by Date: Re: About MathReader 3.0 - with a certain Urgency!!!
  • Previous by thread: How can I make a relation between two lists
  • Next by thread: Re: How can I make a relation between two lists