Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*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 1995

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

Search the Archive

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

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg635] Re: [mg619] RE: how to pick out alternating columns and rows in a matrix
  • From: Lou Talman <me at talmanl.mscd.edu>
  • Date: Mon, 3 Apr 95 11:03:56 -0600

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