MathGroup Archive 2011

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

Search the Archive

Re: How to deal with big matrix?

  • To: mathgroup at
  • Subject: [mg116649] Re: How to deal with big matrix?
  • From: Mala Jozsef <mala_jozsef at>
  • Date: Tue, 22 Feb 2011 06:25:23 -0500 (EST)

You can try this if your matrix is m:
  Map[#[[1]]&,m,{2}] Jozsef   
Szymon Roziewski <szymon.roziewski at> =EDrta:
>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
Out[22]= {{1,3,5},{a,c,e}}Out[22]= {{1,3,5},{a,c,e}}Out[28]= A very large output was generated. Here is a sample of it:
Show Less\[ThinSpace]Show More\[ThinSpace]Show Full Output\[ThinSpace]Set Size Limit...

  • Prev by Date: Scientific Number Format on Frame
  • Next by Date: Re: Diagonalizing large sparse matrices
  • Previous by thread: Re: How to deal with big matrix?
  • Next by thread: Delete elements from list..