2D bicubic interpolation


siddharth
06-05-2005, 05:17 PM
hello everybody,
i took the source code of NR today.i am trying to do 2 D interpolation using bicubic interplation.
i am unable to understand how to find the derivatives in it. i have the data of type-
z=f(x,y)
x=[170 190 210 230 250]
y=[1.2 1.6 1.9 2.2 2.6]
z=[0.1 0.14 0.2 0.3 0.33 0.4]
can anybody help me to find the derivative of y1a,y2a,y21a .

the link for this interolation is -
http://www.library.cornell.edu/nr/bookcpdf/c3-6.pdf
i would really appreciate if anyone can help me out.
thank you.
sid.

gaspari
06-09-2005, 06:19 AM
Dear siddharth

The answer is into the link you attached...

In few words you can compute the derivative using central differences.

Read the book! You will find the answer.

Regards

Max

siddharth
06-11-2005, 08:21 AM
hi,
could anyone help me by telling how to convert the 2D interpolation(bicubic spline) given in NR to 3D.
It would really be helpful if someone can help me to find it out.
thank you.
sid.