Re: Concatenate matrices
- To: mathgroup at smc.vnet.net
- Subject: [mg51444] Re: Concatenate matrices
- From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
- Date: Sun, 17 Oct 2004 03:06:23 -0400 (EDT)
- References: <ckqmb1$nb0$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Try this: << "LinearAlgebra`MatrixManipulation`" MatrixForm[e = {{e11, e12, e13}, {e21, e22, e23}, {e31, e32, e33}}] MatrixForm[f = {{f11, f12}, {f21, f22}, {f31, f32}}] MatrixForm[BlockMatrix[{{e, f}}]] Steve Luttrell "Thomas Guignard" <thomas.guignard at epfl.ch> wrote in message news:ckqmb1$nb0$1 at smc.vnet.net... > Hi all > > Does someone know if there is a function in Mathematica to simply > concatenate matrices (provided their dimensions are right). > > Example: > > / 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? > > T. > > -- > Thomas Guignard > Laboratory of Electromagnetics and Acoustics > Swiss Federal Institute of Technology, Lausanne >