Re: How to concatenate matrices?
- To: mathgroup at smc.vnet.net
- Subject: [mg113772] Re: How to concatenate matrices?
- From: Daniel Huber <dh at metrohm.com>
- Date: Thu, 11 Nov 2010 06:11:23 -0500 (EST)
- References: <i9276a$3f3$1@smc.vnet.net>
On 12.10.2010 19:51, Eduardo M. A. M.Mendes wrote: > Hello > > > > Although I read the help on matrices, I could not figure out how to > concatenate two matrices. > > > > What I have is: > > > > B1 - (vector) - as a result of P21.x1 (product of a matrix and a vector) > > B2 - (vector) - as a result of P22.x2 > > > > B=[B1,B2] - that is, a matrix with two columns. > > > > Join, Append, and all sort of funny functions return even funnier results > (elements with {}). > > > > Many thanks. > > > > Ed > > > Hi Ed, this is easily done by first create a Matrix with two rows and transpose it, like: Transpose[{B1,B2}] Daniel