Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*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 1999

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

Search the Archive

Re: Dealing with submatrices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18134] Re: Dealing with submatrices
  • From: Guilherme Roschke <gr at network3.entropy.upenn.edu>
  • Date: Fri, 18 Jun 1999 00:51:40 -0400
  • Organization: University of Pennsylvania
  • References: <7ka5m3$im3@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Chris Hall wrote:
> 
> I want to construct a 9x9 matrix using 9 existing 3x3 matrices:
> M = { {m11, m12, m13}, {m21, m22, m23}, {m31, m32, m33}}
> 
> The problem is that this creates a too-deep nested list and I can't
> figure out how
> to make it a 9x9.  Flatten doesn't appear to be the right tool.

	Try the BlockMatrix[...] command in the
LinearAlgebra`MatrixManipulation` package.  Its one of the standard add
ons.
	Basically:

	<<LinearAlgebra`MatrixManipulation`

	M=BlockMatrix[{{m11,m12,m13},{m21,m22,m23},{m31,m32,m33}}] //MatrixForm

	where mij are 3X3 matrices.



 
*************************************************
Guilherme Roschke			 	*
Programmer					*
Dept. of Anesthesia				*
University of Pennsylvania Medical School	*
gr at network3.entropy.upenn.edu			*
*************************************************


  • Prev by Date: Re: docs on bracket shapes
  • Next by Date: Re: Version 4.0 - Importing TIF files
  • Previous by thread: Re: Dealing with submatrices
  • Next by thread: Re: Dealing with submatrices