Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: How to delete a row and a column in a matrix?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69705] Re: How to delete a row and a column in a matrix?
  • From: Arkadiusz.Majka at gmail.com
  • Date: Thu, 21 Sep 2006 07:29:39 -0400 (EDT)
  • References: <eeqqlr$onu$1@smc.vnet.net>

A=Table[Random[],{5},{6}];

To delete second row:

Drop[A,{2}]

To delete second column:

Drop[A,0,{2}]

Best,

Arek


hussain.alqahtani at gmail.com napisal(a):
> Dear
>
> I am wondering how to delete a given row and column in a matrix in a
> single command.?
> 
> Your prompt reply is highly appreciated.


  • Prev by Date: Extracting terms from an equation
  • Next by Date: Re: Inequalities
  • Previous by thread: Re: How to delete a row and a column in a matrix?
  • Next by thread: Re: How to delete a row and a column in a matrix?