"Koos" <k.de.vos@planet.nl> wrote in message <1143577685.810648.316280@g10g2000cwb.googlegroups.com>...
> Hi Graham,
>
> you can actually get your matrix W quite easily in Matlab;
> If you have your data y(i) at points x(i), i=1 to m, and want to
> interpolate to xi(j), j=1 to n, simply compute
>
> W = interp1(x,eye(m),xi,method)
>
> where method is nearest/linear/spline.
>
> Check that yi = W*y is equal to
> yi = interp1(x,y,xi,method).
>
> Cheers
> Koos
>
Hi there
I am doing a 2D interploation from polar to rectangular grid. Is there any way that this operation can be represented as a matrix?
many thx :)
> Hi Graham,
>
> you can actually get your matrix W quite easily in Matlab;
> If you have your data y(i) at points x(i), i=1 to m, and want to
> interpolate to xi(j), j=1 to n, simply compute
>
> W = interp1(x,eye(m),xi,method)
>
> where method is nearest/linear/spline.
>
> Check that yi = W*y is equal to
> yi = interp1(x,y,xi,method).
>
> Cheers
> Koos
>
Hi there
I am doing a 2D interploation from polar to rectangular grid. Is there any way that this operation can be represented as a matrix?
many thx :)