MathGroup Archive 2005

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

Search the Archive

Re: Manipulating a matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59245] Re: Manipulating a matrix
  • From: "Carl K. Woll" <carlw at u.washington.edu>
  • Date: Wed, 3 Aug 2005 01:19:49 -0400 (EDT)
  • Organization: University of Washington
  • References: <dcmuig$glg$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Ramier" <wissam2 at online.fr> wrote in message 
news:dcmuig$glg$1 at smc.vnet.net...
> 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
>

This is the type of question that will generate many different approaches. 
Here's mine. Let m be your matrix. Then:

PadLeft[m, Dimensions[m]-1]

will return your desired output.

Carl Woll
Wolfram Research 



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