MathGroup Archive 2010

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

Search the Archive

Exporting a vector

  • To: mathgroup at
  • Subject: [mg108883] Exporting a vector
  • From: nt <sagittarius5962 at>
  • Date: Mon, 5 Apr 2010 08:02:58 -0400 (EDT)

Hi all,

I want to export a vector from a loop statement with two counting
variables, i,j. as an example:

eq= a function of w and k;
Do[{w[i] = i*w0}; {eq1[i] =eq /. w -> w[i]}; {k[j] =  j*dk}; b[i, j] =
eq1[i]/.k-> k[j]}];bet[i] = Min[bet[i, j]], {i, 1, 5}, {j, 1, 5}] ;
When I try to name the Do loop and export to excel, it exports the
whole matrix with the size 5*5.
How can I export the vector bet[i] from the loop?

  • Prev by Date: size of ticks
  • Next by Date: if using Mathematica to solve an algebraic problem is like copying
  • Previous by thread: Re: size of ticks
  • Next by thread: Re: Exporting a vector