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