MathGroup Archive 1999

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

Search the Archive

Re: MatrixForm

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17731] Re: MatrixForm
  • From: adam.smith at hillsdale.edu
  • Date: Tue, 25 May 1999 02:15:15 -0400
  • Organization: Deja.com - Share what you know. Learn what you don't.
  • References: <7i7vtf$ng@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Bruce,

The following seemed to work fine for me:

<< LinearAlgebra`MatrixManipulation`;

X = Table[x[i,j], {i, 1, 4}, {j, 1, 4}]
SubMatrix[X,{1,1},{2,2}]//MatrixForm

Did you maybe forget to load the MatrixManipulation package?  It is
requred in order to use the SubMatrix command.  I first tried it before
loading the MatrixManipulation package and did not get the right
results.

Adam Smith


In article <7i7vtf$ng at smc.vnet.net>,
  bcolletti at mail.utexas.edu (Bruce W. Colletti) wrote:
> Re Mathematica 3.0 (Windows).
>
> After establishing matrix X, I execute:
>
> MatrixForm[X]
> SubMatrix[X,{1,1},{2,2}]//MatrixForm
>
> This prints X as expected and then prints the specified submatrix.  So
> far so good.
>
> But when I remove MatrixForm[X], the submatrix doesn't print, although
> one with the correct dimensions does but its entries are "Null."
>
> What's going on?  Thanks.
>
> Bruce
>
>


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---


  • Prev by Date: Re: Repost: Solve: same or new bug?
  • Next by Date: Re: Two web-based university courses using Mathematica
  • Previous by thread: MatrixForm
  • Next by thread: Wickham-Jones Diskette->Mac