Re: Creating Matrix from vectors
- To: mathgroup at smc.vnet.net
- Subject: [mg100742] Re: Creating Matrix from vectors
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Fri, 12 Jun 2009 05:45:50 -0400 (EDT)
On 6/11/09 at 7:08 AM, basukinjal at gmail.com (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. Use Transpose. That is, A = Transpose@{s1,s2,..,sn}; will be what you want.