MathGroup Archive 2012

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

Search the Archive

Re: NDSolve output without interpolating function



On Fri, 13 Jan 2012, william cuervo wrote:

> Hi!
>
> Is there any way that NDSolve presents the output as a set of data instead
> of as an interpolating function?
>
>
> Thanks!
>

Hi,

how about

s = y /. First@
    NDSolve[{y'[x] == y[x] Cos[x + y[x]], y[0] == 1}, y, {x, 0, 30}]

s["ValuesOnGrid"]

s["Methods"]

Oliver



  • Prev by Date: Vectors
  • Next by Date: Plotting a line with color changing as a function of position
  • Previous by thread: NDSolve output without interpolating function
  • Next by thread: Re: NDSolve output without interpolating function