Strange histogram from point cloud
Show older comments
Dear Matlab users,
I have a problem with created histogram from a point cloud.
When creating the histogram, it has strange peaks practically every second bin.
Do you have any advice about the possible reason and how to fix the code?
Thank you.
Kindly,
Tina

3 Comments
dpb
on 1 Dec 2019
Just the way your data happen to fall into the number of bins chosen. Reduce bin number somewhat to smooth the appearance. 'Spearmint until are pleased.
Tina
on 1 Dec 2019
Image Analyst
on 1 Dec 2019
Looks like normal noise to me. You might turn edgelines of the histogram off, which seem to cause bunching to appear where there is none.
Answers (1)
Luna
on 2 Dec 2019
0 votes
Basically, you can decrease Histogram's 'BinCounts' property or increase 'BinWidth' property.
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!