Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15823 > unrolled thread
| Started by | Ruth Lazkoz Sáez <ruth.lazkoz@ehu.es> |
|---|---|
| First post | 2011-02-11 09:15 +0000 |
| Last post | 2011-02-11 09:15 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: list manipulation Ruth Lazkoz Sáez <ruth.lazkoz@ehu.es> - 2011-02-11 09:15 +0000
| From | Ruth Lazkoz Sáez <ruth.lazkoz@ehu.es> |
|---|---|
| Date | 2011-02-11 09:15 +0000 |
| Subject | Re: list manipulation |
| Message-ID | <ij2un6$7ld$1@smc.vnet.net> |
Hi,
Once you have defined
list1={x1,x2,...,xN}; list2={y1,y2,...,yN};
one possibility is
Partition[Riffle[list1, list2], 2];
Another is
{list1[[#]], list2[[#]]} & /@ Range[Length[list1]]
Probably you will get a dozen alternative answers.
Best,
Ruth
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web