binning a point cloud, 3D scattered data, in the X-Y plane

Take a set of XYZ points, and returns average Z values for corresponding bins in X & Y planes.
642 Downloads
Updated 19 Apr 2013

View License

Imagine you have a cloud of XYZ points. You want to determine the average Z value along with its standard deviation for a grid in the X-Y planes.

The algorithm is fully vectorized, so there are no nested for loops.

Cite As

Stephan Koehler (2024). binning a point cloud, 3D scattered data, in the X-Y plane (https://www.mathworks.com/matlabcentral/fileexchange/41386-binning-a-point-cloud-3d-scattered-data-in-the-x-y-plane), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: binToVector and binToMatrix

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

fixed typo

1.0.0.0