Re: Interpolatingfunction
- To: mathgroup at smc.vnet.net
- Subject: [mg9729] Re: Interpolatingfunction
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Tue, 25 Nov 1997 00:06:28 -0500
- Organization: University of Western Australia
- Sender: owner-wri-mathgroup at wolfram.com
Tama's Kalma'r-Nagy wrote:
> I have two InterpolatingFunction objects (f1,f2) on the same interval. I
> would like to get a third one which is Min(f1,f2). Any idea would be
> appreciated.
If the interval is [a,b] then
min = FunctionInterpolation[Min[f1[x],f2[x]],{x,a,b}]
works. You might want to increase the number of InterpolationPoints.
Cheers,
Paul
____________________________________________________________________
Paul Abbott Phone: +61-8-9380-2734
Department of Physics Fax: +61-8-9380-1014
The University of Western Australia Nedlands WA 6907
mailto:paul at physics.uwa.edu.au AUSTRALIA
http://www.pd.uwa.edu.au/~paul
God IS a weakly left-handed dice player
____________________________________________________________________