MathGroup Archive 2006

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

Search the Archive

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


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?