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: [mg100696] Re: [mg100691] Creating Matrix from vectors
  • From: "David Park" <djmpark at comcast.net>
  • Date: Thu, 11 Jun 2009 21:38:52 -0400 (EDT)
  • References: <27468016.1244718993720.JavaMail.root@n11>

Assuming that the s1, s2,... are defined as equal length lists, then why
can't you just use:

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


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Kinu [mailto:basukinjal at gmail.com] 

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.




  • Prev by Date: Re: Re: What should be a simple task....
  • Next by Date: Creating Matrix from vectors Specific issue
  • Previous by thread: Re: Creating Matrix from vectors
  • Next by thread: Re: Creating Matrix from vectors