Re: NDSolve output without interpolating function
- To: mathgroup at smc.vnet.net
- Subject: [mg124229] Re: NDSolve output without interpolating function
- From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
- Date: Sat, 14 Jan 2012 02:57:37 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201201130951.EAA16470@smc.vnet.net>
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
- References:
- NDSolve output without interpolating function
- From: william cuervo <wfcuervo@gmail.com>
- NDSolve output without interpolating function