Re: Can Mathematica interpolate non-uniform scatter data?

• To: mathgroup at smc.vnet.net
• Subject: [mg106908] Re: Can Mathematica interpolate non-uniform scatter data?
• From: Lawrence Teo <lawrenceteo at yahoo.com>
• Date: Wed, 27 Jan 2010 06:24:34 -0500 (EST)
• References: <hjmjgg\$ee\$1@smc.vnet.net> <hjon95\$4ga\$1@smc.vnet.net>

```Hi DH,

How to do the interpolation with non-uniform scattered data (with
holes)?

On Jan 27, 2:42 pm, dh <d... at metrohm.com> wrote:
> to do it. Anyway, here is it:
>
> now we can do the interpolation:
>
> Lawrence Teo wrote:
> > Hi all,
>
> > Can Mathematica interpolate non-uniform scatter data?
> > Like ListInterpolation or Interpolation functions...
>
> > z = {{0.`, 0.`, 0.`, 0.`, 0.`, 0.`, 0.`, 0.`, 0.`}, {0.`, ,
> >     0.12467473338522769`, 0.18640329676226988`,
> >     0.24740395925452294`, , 0.36627252908604757`,
> >     0.42367625720393803`, 0.479425538604203`}, {0.`,
> >     0.12467473338522769`, 0.24740395925452294`, 0.36627252908604757=
`,
> >     0.479425538604203`, 0.5850972729404622`, 0.6816387600233341`, ,
> >     0.8414709848078965`}, {0.`, 0.18640329676226988`,
> >     0.36627252908604757`, 0.5333026735360201`, 0.6816387600233341`,
> >     0.806081108260693`, 0.9022675940990952`, 0.9668265566961802`,
> >     0.9974949866040544`}, {0.`, 0.24740395925452294`,
> >     0.479425538604203`, 0.6816387600233341`, 0.8414709848078965`,
> >     0.9489846193555862`, 0.9974949866040544`, 0.9839859468739369`,
> >     0.9092974268256817`}};
> > g = ListInterpolation[z, {{0, 1}, {0, 2}}];
> > g[0.5, 0.5]
>
> > However, the previous interpolation will give us a lot of NULL in the
> > expression...

```

• Prev by Date: use of a button
• Next by Date: mathematica doesn't find periodic response with laplace transform
• Previous by thread: Re: Can Mathematica interpolate non-uniform scatter data?
• Next by thread: Re: Can Mathematica interpolate non-uniform scatter data?