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.

You are now following this Submission

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 (2026). binning a point cloud, 3D scattered data, in the X-Y plane (https://se.mathworks.com/matlabcentral/fileexchange/41386-binning-a-point-cloud-3d-scattered-data-in-the-x-y-plane), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: binToVector and binToMatrix

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

fixed typo

1.0.0.0