From: simone on
hi , i am new and sorry for my terrible english, i am italian.
i have this problem :
i use w=interp3(x,y,z,V,xi,yi,zi,'linear'), i wanted to find w in some specific ranges and no problem since here. Now i would like to find the polynomial / logaritmic "formula" that interpoles my datas ( in other words, i would like to find w=a1x1^n+a2x2^n-1 ...+b1y1^m+...c1y1^o..., or a logaritmic formula or something similar).
I wanna this because i need a formula "no-dependent" from Matlab, i have to use this with other programs !

When i use interp1 i can plot the result, and in Tools/basic fitting I find the function that interpoles, but how can I do with interp3 ? when I plot, basic fitting is "obscured"...

Thanks (and sorry for my english)
Simone
From: Torsten Hennig on
> hi , i am new and sorry for my terrible english, i am
> italian.
> i have this problem :
> i use w=interp3(x,y,z,V,xi,yi,zi,'linear'), i wanted
> to find w in some specific ranges and no problem
> since here. Now i would like to find the polynomial /
> logaritmic "formula" that interpoles my datas ( in
> other words, i would like to find w=a1x1^n+a2x2^n-1
> ...+b1y1^m+...c1y1^o..., or a logaritmic formula or
> something similar).
> I wanna this because i need a formula "no-dependent"
> from Matlab, i have to use this with other programs !
>
> When i use interp1 i can plot the result, and in
> Tools/basic fitting I find the function that
> interpoles, but how can I do with interp3 ? when I
> plot, basic fitting is "obscured"...
>
> Thanks (and sorry for my english)
> Simone

The formulas for trilinear interpolation are
provided at
http://en.wikipedia.org/wiki/Trilinear_interpolation

Maybe it helps to program it on your own.

Best wishes
Torsten.