Re: Combining vectors to form a matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg49537] Re: Combining vectors to form a matrix
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 23 Jul 2004 05:59:25 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <cdnphq$l1h$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
a={1,2,3};
b={4,5,6};
c={7,8,9};
m={a,b,c};
or
m=Transpose[{a,b,c}]
??
Regards
Jens
Gregory Lypny wrote:
>
> Hello everyone,
>
> Marvellously powerful programme, but I'm feeling dumber by the minute.
> Is there a simple way to combine three vectors of equal length, n, into
> a nx3 matrix?
>
> Greg