Re: Can Mathematica interpolate non-uniform scatter data?
- To: mathgroup at smc.vnet.net
- Subject: [mg106933] Re: Can Mathematica interpolate non-uniform scatter data?
- From: dh <dh at metrohm.com>
- Date: Fri, 29 Jan 2010 07:43:58 -0500 (EST)
- References: <hjmjgg$ee$1@smc.vnet.net> <hjon95$4ga$1@smc.vnet.net> <hjp7o7$d5m$1@smc.vnet.net>
lately my post get mutilated, we are still seraching the reason. try again: to do it. Anyway, here is it: now we can do the interpolation: Lawrence Teo wrote: > 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... > >