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

MathGroup Archive 2010

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

Search the Archive

Re: restricting interpolating functions to be positive

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106440] Re: restricting interpolating functions to be positive
  • From: dh <dh at metrohm.com>
  • Date: Wed, 13 Jan 2010 05:54:54 -0500 (EST)
  • References: <higdjs$kfi$1@smc.vnet.net> <hihgmn$fga$1@smc.vnet.net>


Sorry there is a type. Should read InterpolationOrder->1.

Daniel

dh wrote:

> Hi,

> 

> Interpolation by default fits cubic polynomials. These tend to 

> 

> over/undershoot the points given. If you can live with linear 

> 

> interpolation, you may specify InterpolationOrder->0. Then the points 

> 

> are simply connected by straight lines.

> 

> Daniel

> 

> 

> 

> dantimatter wrote:

> 

>> Hi All,

> 

> 

>> I would like to construct an interpolation that can only take on

> 

>> positive values.  The data that I'm trying to interpolate is all

> 

>> positive, but for some reason the Interpolation[] function 'wants' to

> 

>> connect the dots by dipping below zero.  Is there a way to force

> 

>> positivity?  Or should I simply adjust the InterpolationOrder until it

> 

>> works?

> 

> 

>> Thanks,

> 

>> Dan

> 

> 

> 

> 




  • Prev by Date: Re: restricting interpolating functions to be positive
  • Next by Date: Re: Program Generation of Mathematica Code
  • Previous by thread: Re: restricting interpolating functions to be positive
  • Next by thread: How to go from TeX ---> TraditionalForm