MathGroup Archive 1995

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

Search the Archive

Re: RE: how to pick out alternating columns and rows in a matrix


Am I missing something here?  What's wrong with:

M_odd = Table[M[[i, j]], {i, 1, n, 2}, {j, 1, m, 2}]

to extract the odd rows and columns of the n by m matrix M?

--Lou Talman
  Metropolitan State College of Denver


  • Prev by Date: Mm <-> Lisp on mac ?
  • Next by Date: fonts
  • Previous by thread: RE: how to pick out alternating columns and rows in a matrix
  • Next by thread: Compact way to store BC's