MathGroup Archive 2010

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

Search the Archive

Re: How to concatenate matrices?


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



  • Prev by Date: exporting an array
  • Next by Date: Re: Balance point of a solid
  • Previous by thread: Re: exporting an array
  • Next by thread: shooting method, boundary value problem