pchip
YI = pchip (X, Y, XI) PP = pchip (X, Y) -- shape preserving piecewise cubic Hermite interpolation. The slopes at the data sites are chosen so that the interpolant is monotone wherever the data are (Fritsch-Carlson). Y may be an array whose last dimension matches X (array valued interpolant). With two arguments the pp-form structure is returned.