MathGroup Archive 1999

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

Search the Archive

Re: interpolatingfunction


suppose you have a result like sol={y[x] ->InterpolatingFunction[<>][x]}
you can use

y[x] /. sol /. x-> 3

to calculate y[3] or you can use

ysol=y[x] /. sol;

Table[ysol ,[x,0,3,0.1}]

to get a table.
  Hope that helps

phpcp at wrote:
> hi all,
> i solved a d.e. using NDSolve and got a solution in
> InterpolatingFunction form. How can i define this as a function that
> returns values using an argument.
> thanks,
> sanjay

  • Prev by Date: Re: Dont Understand
  • Next by Date: Re: Compiling a Module
  • Previous by thread: Re: interpolatingfunction
  • Next by thread: Re: interpolatingfunction