Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

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


  • Prev by Date: Re: Possible bug concerning a limit computation
  • Next by Date: Re: Possible bug concerning a limit computation
  • Previous by thread: Re: Merge of Matrices
  • Next by thread: Re: Merge of Matrices