Re: ASCII Exportation of InterpolatingFunction
- To: mathgroup at smc.vnet.net
- Subject: [mg22037] Re: ASCII Exportation of InterpolatingFunction
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 11 Feb 2000 02:38:18 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <87tr4o$5mv@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, data=Table[{t,a[t],b[t],c[t],d[t]} /. dsolution,{t,0,1000000,0.01}]; Export["a.dat",data,"Table"] will save the calculated solution for t in [0,1000000] with steps 0.01 in "a.dat" Hope that helps Jens macsoft wrote: > > Hi again! > > I have about the same problem as Udo (see thread "Saving plotted data as > ASCII text data") > I do an NSolve which gives me 4 beatiful InterpolatingFunction Objects (a[t],b[t],c[t],d[t]). > I now want to export them in ASCII, as single-column delimieted text > files containing them evaluated at some t, and another file for the t at > whch my interpolatingFunctions have been evaluated. Or even better, a > tab-separated table with each of them (columns t,a[t],b[t],c[t],d[t]). > (I want to import the data to another program). > I also would like to control the number of points evaluated in my > ASCII-arrays ,as well as the interval between two evaluations > My question is How? > I've tried > a=Evaluate[a[t]/.%] > Export["a.dat",a] > but it writes [InterpolatingFunction] in the dat file, and no values... > > Some tips would be really appreciated! > > macsoft