Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15743

Re: list manipulation

From Tomas Garza <tgarza10@msn.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: list manipulation
Date 2011-02-11 09:14 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ij2ulr$7k3$1@smc.vnet.net> (permalink)

Show all headers | View raw


Try
list3 = MapThread[List, {list1, list2}]
-Tomas

> Date: Thu, 10 Feb 2011 05:19:50 -0500
> From: andrea.dellapatria@gmail.com
> Subject:  list manipulation
> To: mathgroup@smc.vnet.net
>
> hello, I need help about the following question:
>
> I have two N-dimensional lists:
>
> list1={x1,x2,...,xN}     list2={y1,y2,...,yN}
>
> How to create the N-dimrnsional list: list3={{x1,y1},{x2,y2},...,
> {xN,yN}} ?
>
> I've tried so hard but I didn't work it out!
>
> Tanks in advance for your support
>
> Andrea
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: list manipulation Tomas Garza <tgarza10@msn.com> - 2011-02-11 09:14 +0000

csiph-web