MathGroup Archive 2003

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

Search the Archive

Re: how to 'edit' MatrixForm output to create a new matrix?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45263] Re: how to 'edit' MatrixForm output to create a new matrix?
  • From: nma124 at hotmail.com (steve_H)
  • Date: Wed, 24 Dec 2003 17:42:17 -0500 (EST)
  • References: <bsbn43$lsd$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Bill Rowe <readnewsciv at earthlink.net> wrote in message news:<bsbn43$lsd$1 at smc.vnet.net>...

> On 12/23/03 at 5:13 AM, nma124 at hotmail.com (steve_H) wrote:
> 
> > For an example, say I create a 2x3 matrix:
>  
> > m= { {1, 2, 3}, {4, 5, 6} } // MatrixForm
>  
> > Now I want to make it say a 3x3 matrix, so I copy the output 
> > from the above command (by selecting it with the mouse and then 
> > copy and paste to a new cell)
>  
> > Now I need to edit the matrix to say add another row or another 
> > column. But can not figure how to do it.
> 


> There are a variety of ways to add a row or column. For example, adding a row can be done with
> 
> Join[m,{{7, 8, 9}}] or
> Flatten[{m, {{7, 8, 9}}, 1]


Thanks to all who answered, but this is not what I was asking for.

I want to add a column or a row by editing the MATRIXFORM output
directly. Not by using a command such as Join.

As I said, I cut/paste the output of MatrixForm to a new cell, now
I need to use the mouse and edit that output to insert a row or
a column right into the MatrixForm representation of the matrix.

regards


  • Prev by Date: Re: Compile
  • Next by Date: Re: Usage of "//" Operator
  • Previous by thread: Re: how to 'edit' MatrixForm output to create a new matrix?
  • Next by thread: How to copy pattern from one expression to another?