Listing values that fall into histogram

3 views (last 30 days)
iceskating911 on 14 Jun 2022
Edited: iceskating911 on 15 Jun 2022
Hello! I've been trying to figure out how to see all values that fall into a certain bin size. Right now, my code looks like the following for two double arrays because my initial goal was to sum the bins (sum the biomass of each cell size, where the edges of the bin represent cell size (0.5-1, 1-2, 2-4, etc)
dpb on 14 Jun 2022
Yet again, see the optional third output argument from histcounts

Sign in to comment.

Accepted Answer

dpb on 14 Jun 2022
edges = 2.^(-2:14);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!