MathGroup Archive 2004

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

Search the Archive

Re: Concatenate matrices

  • To: mathgroup at
  • Subject: [mg51428] Re: [mg51402] Concatenate matrices
  • From: "David Park" <djmp at>
  • Date: Sun, 17 Oct 2004 03:05:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


Use the LinearAlgebra`MatrixManipulation` standard package.


emat = Array[e, {3, 3}];
fmat = Array[f, {3, 2}];

AppendRows[emat, fmat]


BlockMatrix[{{emat, fmat}}]

With a little more work it can also be done outside of the package.

Join[Transpose[emat], Transpose[fmat]] // Transpose

David Park
djmp at 

From: Thomas Guignard [mailto:thomas.guignard at]
To: mathgroup at

Hi all

Does someone know if there is a function in Mathematica to simply 
concatenate matrices (provided their dimensions are right).


     / e11  e12  e13 \
E = | e21  e22  e23 |
     \ e31  e32  e33 /

     / f11  f12 \
F = | f21  f22 |
     \ f31  f32 /

I'd like to have:

     / e11  e12  e13  f11  f12 \
R = | e21  e22  e23  f21  f22 |
     \ e31  e32  e33  f31  f32 /

Any ideas?


Thomas Guignard
Laboratory of Electromagnetics and Acoustics
Swiss Federal Institute of Technology, Lausanne

  • Prev by Date: Re: Concatenate matrices
  • Next by Date: Re: Integrate vs. NIntegrate
  • Previous by thread: Re: Concatenate matrices
  • Next by thread: Re: Concatenate matrices