MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Creating Matrix from vectors

  • To: mathgroup at
  • Subject: [mg100739] Re: [mg100691] Creating Matrix from vectors
  • From: Sseziwa Mukasa <mukasa at>
  • Date: Thu, 11 Jun 2009 21:46:48 -0400 (EDT)
  • References: <>

On Jun 11, 2009, at 7:08 AM, 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.

A = Transpose[{s1,s2,...,sn}]

  • Prev by Date: Re: What should be a simple task....
  • Next by Date: Re: Seeking the Eliza source file Eliza.m
  • Previous by thread: Creating Matrix from vectors
  • Next by thread: Re: Creating Matrix from vectors