Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg124333] Re: NDSolve output without interpolating function
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Tue, 17 Jan 2012 03:24:30 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201130951.EAA16470@smc.vnet.net> <jercor$1f0$1@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

Documenting it would take ALL the fun out.

Bobby

On Mon, 16 Jan 2012 16:02:44 -0600, Kevin J. McCann <kjm at kevinmccann.com>  
wrote:

> Oliver,
>
> Wow! How did you find these? I always thought something like this should
> be around, but resorted to rather tedious ways of getting at the data.
>
> Thanks for putting this out. As far as I know, it is not in the
> documentation.
>
> Kevin
>
> On 1/14/2012 3: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
>>
>


-- 
DrMajorBob at yahoo.com



  • Prev by Date: Re: plotting histograms with do loop
  • Next by Date: Re: How to easily set up all coefficients to be positive in Solving an integer equation?
  • Previous by thread: Re: NDSolve output without interpolating function
  • Next by thread: Re: NDSolve output without interpolating function