MathGroup Archive 2005

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

Search the Archive

Re: Intepolation of an array with missing points


Try Lomb's method. It is excellent for dealing with unequally spaced data.

Kevin

dkjk at bigpond.net.au wrote:
> Hi,
> 
> I have an array representing the heights of a surface over the x-y
> plane. Unfortunately, the heights at several points are unknown so have
> been replaced by empty strings. For an example, see
> 
> http://users.bigpond.net.au/jdstokes/output.csv
> 
> arr = Import["output.csv"] // MatrixForm
> 
> My ultimate goal is to create an interpolating function of this data
> which will allow me to produce a contour plot. As a very inexperienced
> user of Mathematica, my initial thoughts have been someting like this:
> 
> 1. Convert arr to an list of 3-tuples, ignoring the empty entries. (not
> sure how to do this)
> 2. Use Interpolation to create an InterpolatingFunction which can be
> plotted in ContourPlot.
> 
> Does anyone know of a simple method to achieve 1. and whether or not 2.
> will work in this case?
> 
> Thanks.
> 
> James
> 


  • Prev by Date: TagSetDelayed and UpValues
  • Next by Date: Re: Random Normal deviates within compiled function?
  • Previous by thread: Re: Intepolation of an array with missing points
  • Next by thread: Re: Intepolation of an array with missing points