MathGroup Archive 2010

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

Search the Archive

exporting an array

  • To: mathgroup at
  • Subject: [mg113763] exporting an array
  • From: nt <sagittarius5962 at>
  • Date: Thu, 11 Nov 2010 06:09:40 -0500 (EST)


I have a question on how to export a matrix. My code generates a
vector of dimension (200 X 1), and I define:

b = Table[b1[i] /. solution, {i, 1, 200}];

I want to assign counters to these values, and have 1,2,3,.....,200 as
the first column. Finally I want to export this (200 X 2) matrix to a
file. I tried the following but they don't work:

Export["file.txt", {i, 1, 2000}, b];
Export["file.txt", i, b];

I would appreciate it if anyone could suggest a way to do this.


  • Prev by Date: Automatic Retrieve data from excel sheet
  • Next by Date: Re: How to concatenate matrices?
  • Previous by thread: Automatic Retrieve data from excel sheet
  • Next by thread: Re: exporting an array