Re: how to 'edit' MatrixForm output to create a new matrix?
- To: mathgroup at smc.vnet.net
- Subject: [mg45257] Re: [mg45239] how to 'edit' MatrixForm output to create a new matrix?
- From: Yasvir Tesiram <tesiramy at omrf.ouhsc.edu>
- Date: Wed, 24 Dec 2003 04:35:57 -0500 (EST)
- References: <200312231013.FAA12255@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Some stuff below that may help. Also, there are palletes to do this. File->Palettes->BasicTypesetting In[23]:= In[23]:= m={ {1, 2, 3}, {4, 5, 6} } Out[23]= {{1, 2, 3}, {4, 5, 6}} In[24]:= MatrixForm[m] Out[24]//MatrixForm= 1 2 3 4 5 6 In[27]:= m1=AppendTo[m,{7,8,9}] Out[27]= {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}} In[28]:= MatrixForm[m1] Out[28]//MatrixForm= 1 2 3 4 5 6 7 8 9 In[29]:= m2=AppendTo[Transpose[m1], {a, b, c}] Out[29]= {{1, 4, 7}, {2, 5, 8}, {3, 6, 9}, {a, b, c}} In[30]:= MatrixForm[Transpose[m2]] Out[30]//MatrixForm= 1 2 3 a 4 5 6 b 7 8 9 c Yas On Tue, 23 Dec 2003 nma124 at hotmail.com wrote: > Hi; > > 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. > > Need to find out how to insert the mouse inside the matrix and > tell Mathematica to add a row or a column at that location. > > Offcourse I can just use the list formulation and type in the > new matrix, but I prefer to use the MatrixForm to edit the > matrix since I can see visually the matrix that way. > > So, Is there some sort of visual Matrix editor for Mathematica? or > a way to do the above? >
- References:
- how to 'edit' MatrixForm output to create a new matrix?
- From: nma124@hotmail.com (steve_H)
- how to 'edit' MatrixForm output to create a new matrix?