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: [mg88101] Re: [mg88055] Create array of data files
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Thu, 24 Apr 2008 05:59:31 -0400 (EDT)
  • References: <200804230807.EAA28868@smc.vnet.net>

On Apr 23, 2008, at 4:07 AM, 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.

For[Export["dataset"<>ToString[i]<>".txt",(*your data set here")],{i, 
(*number of data sets here*)}]

Regards,

Ssezi


  • Prev by Date: Re: Problem with RegionFunction
  • Next by Date: Re: When Find finds something -
  • Previous by thread: Create array of data files
  • Next by thread: Re: Create array of data files