Re: combine two vectors to form matrix
- To: mathgroup@smc.vnet.net
- Subject: [mg11279] Re: [mg11222] combine two vectors to form matrix
- From: "Chris Farr" <farr@brown.edu>
- Date: Wed, 4 Mar 1998 01:39:33 -0500
Couldn't you do this:
vec1 = {a,b,c};
vec2 = {d,e,f};
mat = Table[ {vec1[[s]],vec2[[s]]},{s,1,Length[vec1]}];
Then, mat in MatrixForm is the following: a d
b e
c f
Chris Farr
Table
-----Original Message-----
From: s2700114@nickel.laurentian.ca <s2700114@nickel.laurentian.ca> To:
mathgroup@smc.vnet.net
Subject: [mg11279] [mg11222] combine two vectors to form matrix
>could any one tell me how to combine two lists(column vectors) into an n
>x 2 matrix?
>
>Troy
>
>