N-dimensional histogram

version (2.85 KB) by Bruno Luong
Compute n-dimensional histogram


Updated 26 Aug 2011

View License

Like histc but for n-dimension.

Unlike the other nd histogram http://www.mathworks.com/matlabcentral/fileexchange/3957 beside counting, this function returns also the location of points in the bins. Coded entirely in Matlab (no mex required). Speed slightly slower (but quite decent).

User can data and/or function for specific need of accumulator on each patch

Cite As

Bruno Luong (2022). N-dimensional histogram (https://www.mathworks.com/matlabcentral/fileexchange/23897-n-dimensional-histogram), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!