Creates a gridded lookup table from scattered data in n dimensions.
regularizeNd is a MATLAB function inspired by RegularizeData3D and gridfit. It generalizes the same regularization approach from 2-D input to n-D input. regularizeNd was originally started as a rewrite of those tools, but has since evolved into a completely independent implementation with no shared code. More background on the underlying regularization technique 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, check out the Examples tab: regularizeNd at MathWorks File Exchange
- General usage: install from the MathWorks File Exchange.
- Developing
- See the Developer Guide for prerequisites, development workflow, and release steps.
- Clone the repository.
- Run
pnpm i(orpnpm i --frozen-lockfile) to install dependencies and configure git hooks. - Run
setupRegularizeNdProjectPath.mbefore running MATLAB scripts. Run it again when done to clean up project paths. - Use
scripts/createPackage.mto build toolbox artifacts and package the toolbox.
- Documentation
- Linked from this repository.
- Available online at regularizeNd Documentation.
- Packaged with the toolbox.
- Examples are in the
Examplesfolder at the project root (for both installed and cloned copies).- Examples packaged with documentation do not include all data files.
- Run examples from the project
Examplesfolder when data files are required.
regularizeNd is licensed under the MIT License. See the LICENSE file for the full license text.
