ffndgrid Fast 'n' Furious N-D data gridding
No License
FFNDGRID grids unevenly spaced data.
This is a generalization of FFGRID applicable to N-D data. FFNDGRID may also be used to generate N-dimensional histograms or densityplots.
This is very useful when dealing with data which are difficult to view using plot3 (which, in my experience, is the case with all 3-D data that are not completely smooth).
FFNDGRID is a Fast `n' Furious way to do the same job that griddata does for you. The difference is that there is no interpolation. Empty points are left empty rather than trying to fill them using neighbouring points. Also, FFNDGRID has no problem with multiple points that fall in the same grid cell. Data are displayed using IMAGSC unless output arguments are specified, in which case the matrix of (regularly spaced) data is given along with the vectors specifying the binning.
Cite As
Per A. Brodtkorb (2024). ffndgrid Fast 'n' Furious N-D data gridding (https://www.mathworks.com/matlabcentral/fileexchange/4157-ffndgrid-fast-n-furious-n-d-data-gridding), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Tags
Acknowledgements
Inspired: N-D customized gridding
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |