exporting an array
- To: mathgroup at smc.vnet.net
 - Subject: [mg113763] exporting an array
 - From: nt <sagittarius5962 at gmail.com>
 - Date: Thu, 11 Nov 2010 06:09:40 -0500 (EST)
 
Hi,
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.
Thanks
nt