"samar" wrote in message <firstname.lastname@example.org>... > Hi all, > > I would like to use Pchip function to interpolate my 2-dimensional data set. > > I'm actually using spline interpolation (with csapi function) but it doesn't work well. > I think that Pchip will be better for my data set but I have no idea how to use it with 2 variables: x1 (n values) and x2 (m values) are my variables and V=f(X1,X2) is the n*m matrix containning all values taken by f for each couple (x1,x2) > > The second question can we have the result of pchip in PPFORM? > > Thank you very much for you help!
1. pchip DOES return a ppform.
2. There is no 2-d pchip implemented for MATLAB that I know of.