Creates a gridded lookup table from scattered data in n dimensions.
regularizeNd is function written in MATLAB that extends functionality of RegularizeData3d from 2-D input to n-D input. More background can be found here and here
The basic idea is that a lookup table is fitted to the scattered data with a required level of smoothness. The smoothness parameter trades between goodness of fit and smoothness of the curve (1-D), surface (2-D), or hypersurface (n-D).
On the MathWorks File Exchange, checkout the Examples tab: regularizeNd at MathWorks File Exchange