Re: list manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg116360] Re: list manipulation
- From: Nicholas Goble <ngoble at iwu.edu>
- Date: Sat, 12 Feb 2011 05:17:08 -0500 (EST)
You could try a "brute force" method: list3={}; For{i=1, i<=Length[list1], i++, AppendTo[list3, {list1[[i]], list2[[i]]}] ]; Nicholas Goble On 2/10/11 4:19 AM, "Andrea" <andrea.dellapatria at gmail.com> wrote: > 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 > >