Strange histogram from point cloud

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
Histogram_Ma-Sa.jpg

3 Kommentare

dpb
dpb am 1 Dez. 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
Tina am 1 Dez. 2019
Thank you for this quick reply and tip.
Kindly,
Tina
Image Analyst
Image Analyst am 1 Dez. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Luna
Luna am 2 Dez. 2019

0 Stimmen

Basically, you can decrease Histogram's 'BinCounts' property or increase 'BinWidth' property.
You can define them with 'Name','Value' pair argument while plotting Histogram .

1 Kommentar

Tina
Tina am 11 Dez. 2019
Dear Luna,
Thank you for your reply and suggestion.
Will try that.
Kindly, Tina

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 1 Dez. 2019

Kommentiert:

am 11 Dez. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by