Code covered by the BSD License  

Highlights from
LibLip - Matlab toolbox for multivariate scattered data approximation

from LibLip - Matlab toolbox for multivariate scattered data approximation by Gleb Beliakov
Uses Lipschitz properties of a function to interpolate or approximate it from scattered data.

testf(x,y)
function res = testf(x,y)
% Sample function
res = exp( -(y - x^2)^2 -  (x^2+y^2)/2);

Contact us at files@mathworks.com