3d histogram
Version 1.0.0.1 (2.56 KB) by
midi cherif
[tab,I,J]=hist3d(x,y,z,xedges,yedges) calculates 3d histograms with sum of elements
Instead of Matlab function hist3 that calculates 2d histograms giving the number of elements, hist3d calculates the sum of weights given in the third vector z. The algorithm was written to be fast and stable. An example is given with more than 10^6 elements.
By: El mehdi Abbou-ou-cherif
Last updated : 24/06/2016 with MATLAB 7.0
Cite As
midi cherif (2024). 3d histogram (https://www.mathworks.com/matlabcentral/fileexchange/57839-3d-histogram), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP3
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Histograms in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: 2D Histogram Calculation
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.