Re: InterpolatingFunction[] question
- To: mathgroup at smc.vnet.net
- Subject: [mg7188] Re: InterpolatingFunction[] question
- From: pehowland at taz.dra.hmg.gb (Paul E Howland)
- Date: Wed, 14 May 1997 01:11:21 -0400 (EDT)
- Organization: DRA Malvern
- Sender: owner-wri-mathgroup at wolfram.com
Jack Dostal <dostal at iastate.edu> wrote:
>I'm currently using Mathemaitca to solve a tricky 2nd-order differential
>equation and am getting " InterpolatingFunction[{0,97.7}, <>] " as a
>result. What I'd like to do is to mark the 0 and the 97.7 as xmin and
>xmax respectively (i.e. assign to xmin the first number in braces, and
>assign to xmax the second number in braces). Is there any way to do
>this?
Just use
{xmin,xmax} = InterpolatingFunction[{0,97.7},<>][[1]]
I don't have Mathematica in front of me right now, but this should
work.
Regards,
Paul
__________________________________________________________
Paul E Howland, MEng CEng MIEE Tel +44-1684-895767
Long Range Ground Radar Sensors Fax +44-1684-896315
DERA Malvern
Malvern, Worcs, UK
__________________________________________________________