MathGroup Archive 2006

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

Search the Archive

Re: Merge of Matrices


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