Re: Table extraction
- To: mathgroup at smc.vnet.net
- Subject: [mg19187] Re: [mg19141] Table extraction
- From: "David Park" <djmp at earthlink.net>
- Date: Tue, 10 Aug 1999 02:52:46 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Maurice, I don't follow the meaning of your example. However, have you looked at the LinearAlgebra`MatrixManipulation` package? David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ >Hi, > >I am trying to extract a section of a table with not much luck.... > >I have defined two tables (actually two arrays which are used to plot >vectors with ListPlotVectorField) as follows: > >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). > >I tried using Part[xyvector,{2,3}] which extracts 2 rows but I cannot >figute out how to extract the necessary columns > >Can anyone help? > >Thanks, > >Maurice > >-- >Maurice Shevalier | .~. >Ph.D. Candidate | /V\ L I N U X >Dept. of Physics and Astronomy | // \\ >The Penguin, The Slayer?< >University of Calgary | /( )\ >Calgary, AB, CANADA T2N-1N4 | ^^-^^ >(403)220-7873 fax:(403)284-0074 | >e-mail: maurice at phas.ucalgary.ca > > > > >