Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Table extraction

  • To: mathgroup at
  • Subject: [mg19200] Re: Table extraction
  • From: king at (Nigel King)
  • Date: Tue, 10 Aug 1999 02:52:53 -0400
  • Organization: Consultant
  • References: <7odkbs$>
  • Sender: owner-wri-mathgroup at

> xyvector = Table[{0.,0.},{j,1,64},{i,1,320}];
> backvector = Table[{0.,0.},{j,1,16},{i,1,100}];
> I need to extract part of xyvector and place it into  backvector. I have
> tried to use Part. I can extract the j range correctly (rows), but I
> can't get the Part function to extract in the i range (columns).

backvector=ColumnTake[Take[xyvector, {3, 5}], {5, 7}]

takes columns 5 to 7 of rows 3 to 5

Nigel King  

  • Prev by Date: Automatic Display in MatrixForm
  • Next by Date: Linux sound output
  • Previous by thread: Re: Table extraction
  • Next by thread: Re: Table extraction