Re: Creating Matrix from vectors
- To: mathgroup at smc.vnet.net
- Subject: [mg100721] Re: [mg100691] Creating Matrix from vectors
- From: Mauricio Esteban Cuak <cuak2000 at gmail.com>
- Date: Thu, 11 Jun 2009 21:43:28 -0400 (EDT)
- References: <200906111108.HAA21218@smc.vnet.net>
If I understand correctly, you should just Transpose the matrix: s1 = {a, b, c}; s2 = {d, e, f}; s3 = {g, h, i}; A = Transpose[{s1, s2, s3}] A // MatrixForm 2009/6/11 Kinu <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. > > -- Por favor eviten enviarme archivos adjuntos de Word o Powerpoint ( http://www.gnu.org/philosophy/no-word-attachments.es.html )
- References:
- Creating Matrix from vectors
- From: Kinu <basukinjal@gmail.com>
- Creating Matrix from vectors