Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Create array of data files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88078] Re: Create array of data files
  • From: Oliver Ruebenkoenig <ruebenko at uni-freiburg.de>
  • Date: Wed, 23 Apr 2008 06:05:43 -0400 (EDT)
  • References: <fumquv$sdt$1@smc.vnet.net>

On Wed, 23 Apr 2008, Modeler wrote:

> Hi there,
>
> does anyone know how to write standard multicolumn numerical data sets generated by a "for" loop into an array of data files with names "dataset%.txt", where % is iteratively given by the value of the loop index? Thanks a lot.
>
>

perhaps something like:

Do[
   Print[ ToString[
         PaddedForm[pictureCounter, 5, NumberPadding -> {"0", "0"}]] ];
   , { pictureCounter, 10 }]

Oliver

Oliver Ruebenkoenig, <ruebenko AT uni-freiburg.de>


  • Prev by Date: can anybody help me
  • Next by Date: Generating HTML like online Documentation Center
  • Previous by thread: Re: Create array of data files
  • Next by thread: Re: Create array of data files