Re: Manipulating a matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg59236] Re: Manipulating a matrix
- From: albert <awnl at arcor.de>
- Date: Wed, 3 Aug 2005 01:19:42 -0400 (EDT)
- References: <dcmuig$glg$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Ramier,
> 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 ?
Have a look at Drop[]:
m = Array[a, {4, 4}];
MatrixForm[m]
m1 = Drop[m, 1, 1];
MatrixForm[m1]
albert