MathGroup Archive 2005

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

Search the Archive

Re: Manipulating a matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59234] Re: [mg59212] Manipulating a matrix
  • From: yehuda ben-shimol <bsyehuda at gmail.com>
  • Date: Wed, 3 Aug 2005 01:19:41 -0400 (EDT)
  • References: <200508020442.AAA16742@smc.vnet.net>
  • Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
Call your matrix mat
Then Rest[Rest/@mat] will return a new matrix with the first column
and first row removed. if you want to have the result in your original
variable then
mat=Rest[Rest/@mat].
By the way, this is not limited to n by n matrices, this is general
solution to any n by m matrix
yehuda

On 8/2/05, Ramier <wissam2 at online.fr> wrote:
> Hello everyone,
> 
> I think that my question is rather simple and maybe I ought to go
> deeper into Mathematica book:
> I have a n x n matrix and I'd like to remove the first line and the
> first column in order to get the (n-1)x(n-1) matrix with the entries
> remaining. Is there a simple way to do that ?
> 
> Perhaps my question is really simple or idiot but I've never used
> Mathematica before.
> 
> Thanks a lot,
> 
> Wissam
> 
>


  • Prev by Date: Re: Visualization Site Updates
  • Next by Date: Re: Manipulating a matrix
  • Previous by thread: Re: Manipulating a matrix
  • Next by thread: Re: Manipulating a matrix