5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 6.27 KB File ID: #4157

ffndgrid Fast 'n' Furious N-D data gridding

by Per A. Brodtkorb

 

17 Nov 2003 (Updated 18 Nov 2003)

FFNDGRID Grids unevenly spaced N-dimensional data.

| Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
N-D customized gridding
MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
10 Sep 2004 Brégeon Rémi

Nice optimized job !!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
specialized Per A. Brodtkorb 22 Oct 2008 07:09:35
plotting Per A. Brodtkorb 22 Oct 2008 07:09:35
data gridding Per A. Brodtkorb 22 Oct 2008 07:09:35
visualization Per A. Brodtkorb 22 Oct 2008 07:09:35
spaces Per A. Brodtkorb 22 Oct 2008 07:09:35
data Per A. Brodtkorb 22 Oct 2008 07:09:35
graphics Per A. Brodtkorb 22 Oct 2008 07:09:35

Contact us at files@mathworks.com