Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

AW: partition of 2D arrray

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49172] AW: [mg49137] partition of 2D arrray
  • From: Matthias.Bode at oppenheim.de
  • Date: Tue, 6 Jul 2004 03:33:40 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Ravi,

please have a look at the package:

<< LinearAlgebra`MatrixManipulation`

TakeColumns[], in particular.

Best regards,
Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Untermainanlage 1
D-60329 Frankfurt am Main
GERMANY
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 95 380
E-mail: matthias.bode at oppenheim.de
Internet: http://www.oppenheim.de



-----Ursprüngliche Nachricht-----
Von: Ravinder Kumar B. [mailto:ravi at crest.ernet.in] 
Gesendet: Montag, 5. Juli 2004 10:54
An: mathgroup at smc.vnet.net
Betreff: [mg49137] partition of 2D arrray


Dear Friends,
I have a list of 2D data of the following form:
{{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}};
In MatrixForm it is 4x4 matrix.
How do I extract the fisrt two column of the data from the above matrix.
i.e.,
{{1,2},{5,6},{9,10},{13,14}}


-- 
 Regards,                                   Jul 2
    Ravi



         |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
         |           Ravinder Kumar Banyal (SRF),                |
         |          Indian Institute of Astrophysics,            |
         |           Koramangala Bangalore - 560 034. INDIA      |
         | email : banyal at iiap.res.in, ravi at crest.ernet.in       |
         | Ph No : 080 25530672 (IIA)       080 7931972 (Hoskote)|
         |                                     7931952           |
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Philosophers have interpreted the world in various ways, but the point is
to change it. --Karl Marx


  • Prev by Date: RE : partition of 2D arrray
  • Next by Date: Re: Solid plot
  • Previous by thread: RE : partition of 2D arrray
  • Next by thread: Re: Normal distribtion