MathGroup Archive 2010

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

Search the Archive

Re: Silly question on Matrices

  • To: mathgroup at
  • Subject: [mg111542] Re: Silly question on Matrices
  • From: "David Park" <djmpark at>
  • Date: Wed, 4 Aug 2010 07:34:09 -0400 (EDT)

I would usually write that as:

(amat = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}) // MatrixForm 


amat[[1, 1]] 

David Park
djmpark at  

From: Eduardo M. A. M.Mendes [mailto:emammendes at] 

Hello there

I am new to Mathematica.  In one of my attempts to understand how it works,
I tried the following example

A={{1,2,3},{4,5,6},{7,8,9}} //MatrixForm

The result seems to be a matrix 3x3 but when I try A[[1][1]], the whole
first line shows up instead of just one element.  If I don't use MatrixForm,
it works fine.  How can I see a matrix in nice format without wrecking

Many thanks


  • Prev by Date: Re: AxesLabel parallel to 3D axes?
  • Next by Date: Re: Surprising FullSimplify result
  • Previous by thread: Silly question on Matrices
  • Next by thread: Re: Silly question on Matrices