Re: Exporting (saving) data
- To: mathgroup@smc.vnet.net
- Subject: [mg12222] Re: Exporting (saving) data
- From: Allan Hayes <hay@haystack.demon.co.uk>
- Date: Fri, 1 May 1998 03:09:08 -0400
- References: <6hpfbp$df7@smc.vnet.net>
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