MathGroup Archive 2012

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

Search the Archive

Re: NDSolve output without interpolating function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124265] Re: NDSolve output without interpolating function
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sat, 14 Jan 2012 17:16:18 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201130951.EAA16470@smc.vnet.net> <jercor$1f0$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

On 1/14/2012 2:01 AM, Oliver Ruebenkoenig wrote:
> 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
>

Wow, that is amazing. Never knew about these. Any idea where to
read more about these options? to understand more what they return
and such.  

Sounds like they will be very useful to know about. nothing in documentation
center on them.

thanks
--Nasser



  • Prev by Date: Re: how can one use mathematica get the approximate derivative of {x,y} data points?
  • Next by Date: Re: Plotting a line with color changing as a function of position
  • Previous by thread: Re: NDSolve output without interpolating function
  • Next by thread: Re: NDSolve output without interpolating function