Re: Creating Matrix from vectors
- To: mathgroup at smc.vnet.net
- Subject: [mg100697] Re: Creating Matrix from vectors
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 11 Jun 2009 21:39:03 -0400 (EDT)
- Organization: Uni Leipzig
- References: <h0qohm$klm$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi,
and a matrix is not a list of vectors ?
But
v1 = {1, 2, 3};
v2 = {3, 4, 5};
v3 = {6, 7, 8};
A = {v1, v2, v3};
MatrixQ[A]
gives True ..
Regards
Jens
Kinu wrote:
> Suppose i have a n number of vectors say s1, s2,... sn. I want to
> create a matrix such that these n vectors are the n columns of the matrix.
> I tried using A = {s1,s2,..,sn};
> however this keep the vectors intact and stacks them one below the
> other. How can i make a matrix from these??
> Can anyone please help me with this.
>