Re: Merge of Matrices
- To: mathgroup at smc.vnet.net
- Subject: [mg71140] Re: Merge of Matrices
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Thu, 9 Nov 2006 03:38:02 -0500 (EST)
- Organization: The Open University, Milton Keynes, UK
- References: <eisglr$nf9$1@smc.vnet.net>
Robert Berger wrote: > Hello! > > I like to create from the four matrices A (N1 rows and N1 columns), > B (N1 rows and N2 columns), C (N2 rows and N1 columns), > D (N2 rows and N2 columns) a new matrix X of the form > > A B > X = > C D > > > Once A & B and C & D have been merged, the first (A & B) and the > second row (C& D) can be merged in that way by applying Join, which is > not a problem but how can I merge A & B (and of course C & D) in > that way? > > Kindly regards, > Roman. > Try <<LinearAlgebra`MatrixManipulation` BlockMatrix[{A, B}, {C, D}] See http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/LinearAlgebra/MatrixManipulation.html Regards, Jean-Marc