Surface Fitting using gridfit
Anmerkung des Herausgebers: Popular File 2008
This file was selected as MATLAB Central Pick of the Week
Those wishing to model a surface from data in the
form of z(x,y) from scattered or semi-scattered
data have had few options in matlab - mainly
griddata.
Griddata is a valuable tool for interpolation of
scattered data. However it fails when there are
replicates or when the data has many collinear
points. Griddata is also unable to extrapolate
beyond the convex hull of the data unless the 'v4'
option is used, which is slow.
Gridfit solves all of these problems, although it
is not an interpolant. It builds a surface over a
complete lattice, extrapolating smoothly into the
corners. You have control of the amount of
smoothing done, as well as interpolation methods,
which solver to use, etc.
This release allows the user to solve much larger problems using a new tiling option. There is essentially no limit on the size of the suface one builds now, as long as you have dense enough data and enough memory to store the final gridded surface.
Example uses are found in the file gridfit_demo.m,
as well as comparisons to griddata on the same
surfaces.
Zitieren als
John D'Errico (2024). Surface Fitting using gridfit (https://www.mathworks.com/matlabcentral/fileexchange/8998-surface-fitting-using-gridfit), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Interpolation >
- MATLAB > Mathematics > Computational Geometry >
- AI and Statistics > Curve Fitting Toolbox > Linear and Nonlinear Regression >
- MATLAB > Data Import and Analysis > Descriptive Statistics >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Surface and Mesh Plots >
Tags
Quellenangaben
Inspiriert: regularizeNd, smoothsurf( x,y,z,xn,yn,varargin ), gridbin, RegularizeData3D, Bi dimensional Emperical Mode Decomposition (BEMD)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
gridfitdir/
gridfitdir/test/
gridfitdir/demo/
gridfitdir/demo/html/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Allow unequal smoothing parameters in x and y directions
|