MathGroup Archive 2000

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

Search the Archive

Re: ASCII Exportation of InterpolatingFunction

  • To: mathgroup at
  • Subject: [mg22037] Re: ASCII Exportation of InterpolatingFunction
  • From: Jens-Peer Kuska <kuska at>
  • Date: Fri, 11 Feb 2000 02:38:18 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <87tr4o$>
  • Sender: owner-wri-mathgroup at


data=Table[{t,a[t],b[t],c[t],d[t]} /. dsolution,{t,0,1000000,0.01}];


will save the calculated solution for t in [0,1000000] with steps 0.01
in "a.dat"

Hope that helps

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

  • Prev by Date: Re: global real variables
  • Next by Date: Re: formula for Pi
  • Previous by thread: ASCII Exportation of InterpolatingFunction
  • Next by thread: global real variables