Re: How to deal with big matrix?
- To: mathgroup at smc.vnet.net
- Subject: [mg116633] Re: How to deal with big matrix?
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Tue, 22 Feb 2011 04:43:37 -0500 (EST)
Flatten@matrix[[All,All,1] and Flatten@matrix[[All,All,2] Bobby On Mon, 21 Feb 2011 18:29:01 -0600, Szymon Roziewski <szymon.roziewski at gmail.com> wrote: > Hello there, > > I have quite big matrix with let say 1000 rows and 1100 columns. > Each of element of this matrix is a point on a surface e.g. > {1.232,12.123} > How can I quickly get first element of each point for whole matrix and > put > it in a vector (1000*1100 - this will be a length of that vector) > without do > it in a nested loop (Do[Do[...]])? > And the similar to get the second element of each point into vector. > > kind regards, > Szymon Roziewski -- DrMajorBob at yahoo.com