Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Creating Matrix from vectors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100708] Re: Creating Matrix from vectors
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Thu, 11 Jun 2009 21:41:04 -0400 (EDT)
  • References: <h0qohm$klm$1@smc.vnet.net>

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??

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


  • Prev by Date: Re: Creating Matrix from vectors
  • Next by Date: Re: Creating Matrix from vectors
  • Previous by thread: Re: Creating Matrix from vectors
  • Next by thread: Re: Creating Matrix from vectors