Grouping the data based on distance values

For a stepped bore, I have calculated distance from the axis to any grid point on the bore. I want to know how to group the data based on distance values? I greatly appreciate if anyone can help me with this.
Thanks.

1 Comment

do you mean something like k-means clustering? Please provide more details and example code

Sign in to comment.

Answers (1)

histc?
doc histc
doc accumarray
maybe? We'll need more details if you want a more precise answer.

Asked:

on 5 Jul 2011

Community Treasure Hunt

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

Start Hunting!