MathGroup Archive 1998

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

Search the Archive

Re: Exporting (saving) data



Deborah Leddon wrote:
>
> Hi,
>
> I am using Mathematica 3.01 on a windows 95 system to do fourier
> transforms (fts) and compute power spectrums (ABS[fts]^2)  of time
> series data that comes in a list form such as:
>
> {1,2,1,1,3,etc.} a very large data list (time series)!
> ........
> .... how do you create files in both the
> working directory and the 3.5" floppy that one can send(write) and
> retrieve data to and from?
 
Deborah:
 
How about the following, with the full addresses for your files in place
of temp1 and temp2 ?
 
lst={1.23,2,3.45};
 
Write[{"temp1","temp2"},lst]
 
Close/@{"temp1","temp2"};

Read["temp1"]

{1.229999999999999,2,3.45}


Read["temp2"]

{1.229999999999999,2,3.45}

--
Allan Hayes
Training and Consulting
Leicester, UK
hay@haystack.demon.co.uk
http://www.haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642



  • Prev by Date: RE: Sqrt problem - restated
  • Next by Date: Re: problem with Coefficient
  • Prev by thread: Re: Mathematica 3.0 preferences-file
  • Next by thread: Re: problem with Coefficient