hist2d(D,Xn,Yn,Xran​ge,Yrange)

Optimized 2-dimensional Histogram for Complex Data

You are now following this Submission

For an complex data set D, histogram it by range in Xrange and Yrange, each with grid number Xn and Yn.

Cite As

Yang Hu (2026). hist2d(D,Xn,Yn,Xrange,Yrange) (https://in.mathworks.com/matlabcentral/fileexchange/48376-hist2d-d-xn-yn-xrange-yrange), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Fast 2D histogram calculation

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Including a illustrating figure for this program

1.0.0.0