Re: Can Mathematica interpolate non-uniform scatter data?
- To: mathgroup at smc.vnet.net
- Subject: [mg107045] Re: Can Mathematica interpolate non-uniform scatter data?
- From: Lawrence Teo <lawrenceteo at yahoo.com>
- Date: Mon, 1 Feb 2010 06:13:29 -0500 (EST)
- References: <hjmjgg$ee$1@smc.vnet.net> <hjon95$4ga$1@smc.vnet.net>
Hi DH, This is so upsetting. I need the answer so urgently but just can't see your reply. :) On 29 Jan, 20:43, dh <d... at metrohm.com> wrote: > lately my post get mutilated, we are still seraching the reason. try a= gain: > > 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.366272529086047= 57= > > `, > >>> 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...