Re: Remove points from InterpolatingFunction
- To: mathgroup at smc.vnet.net
- Subject: [mg109893] Re: Remove points from InterpolatingFunction
- From: Frank Breitling <fbreitling at aip.de>
- Date: Fri, 21 May 2010 06:46:43 -0400 (EDT)
Dear Ingo, Thank you very much for your answer. Meanwhile I found the solution for your suggested FullForm surgery. I describe it in my reply to Daniel via this list. Thanks again for your help. Frank On 2010-05-18 07:06, Ingolf Dahl wrote: > Hi Frank, > To me it is not completely clear what you are trying to achieve. > Either you could remove some of the control points for the definition of the > interpolation function. Mathematica can give you an interpolation function > in this case also, in the one-dimensional case. This function can of course > become very imprecise in the empty interval. > Or you might want to redefine the function in the unsure interval, and > replace it by something else. Then you maybe could add some extra control > points in the small interval? It depends on your problem what is suitable > and allowed. > With an already defined InterpolationFunction, you might check the structure > by looking at the FullForm of it, and make some surgery on that, bur that > sounds not as the easiest way. > > Best regards > > Ingolf Dahl > ingolf.dahl at telia.com > > -----Original Message----- > From: Frank Breitling [mailto:fbreitling at aip.de] > Sent: den 17 maj 2010 13:11 > To: mathgroup at smc.vnet.net > Subject: [mg109778] Remove points from InterpolatingFunction > > Hello, > > I have an interpolating function with a small interval of low accuracy. > Therefore I would like to remove all points in this interval. > I already tried to overwrite the interval using Piecewise and Condition > (/;). However a so defined function causes problems in my later > calculations due to its higher complexity. > Therefore I would like to keep the original InterpolatingFuction and > only remove the problematic points. > > How can I do this? > > Kind regards > > Frank >