Export a vector

*To*: mathgroup at smc.vnet.net*Subject*: [mg108805] Export a vector*From*: nt <sagittarius5962 at gmail.com>*Date*: Thu, 1 Apr 2010 06:00:28 -0500 (EST)

Hi all, I have a question on how to export an array from a loop with several iterating varibles: for example: equation= some equation! t0=1;ds1=1 Do[{t[i]=i*t0};{eq[i]=equation/.t->t[i]};{s1[j]=j*ds1};bet[i,j]= r/.FindRoot[eq[i]==0,{s,s1[j]}];betn[i]=Min[bet[i,j]],{i,1,5},{j,1,5}] I can give the loop a name like L=Do[....] and write Export["file.xls",L] but what I get is the matrix with dimensions of i*j. can I only export bet[i] which is a vector within the loop to a file? Thanks for you replies nt